- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for GarbageCollectionStats (0.45 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStats.java
import java.util.Collection; import java.util.concurrent.TimeUnit; public class GarbageCollectionStats { private final double gcRate; private final int usedPercent; private final long maxSizeInBytes; private final long eventCount; private GarbageCollectionStats(double gcRate, long usedSizeInBytes, long maxSizeInBytes, long eventCount) { this.gcRate = gcRate;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/DefaultGarbageCollectionMonitor.java
} @Override public GarbageCollectionStats getHeapStats() { return GarbageCollectionStats.forHeap(heapEvents.snapshot()); } @Override public GarbageCollectionStats getNonHeapStats() { return GarbageCollectionStats.forNonHeap(nonHeapEvents.snapshot()); } @VisibleForTesting
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java
} @Override public void stop() { if (scheduler != null) { scheduler.stop(); } } public GarbageCollectionStats getHeapStats() { return gcMonitor.getHeapStats(); } public GarbageCollectionStats getNonHeapStats() { return gcMonitor.getNonHeapStats(); } /** * Elegant description of daemon's health */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:23:18 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitor.java
public interface GarbageCollectionMonitor { /** * Returns a {@link GarbageCollectionStats} object for the tenured heap of the daemon process. */ GarbageCollectionStats getHeapStats(); /** * Returns a {@link GarbageCollectionStats} object for the metaspace region of the daemon process. */ GarbageCollectionStats getNonHeapStats();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/DaemonHealthStatsTest.groovy
def "includes garbage collection data when present"() { when: gcInfo.getCollectionTime() >> 25 gcMonitor.getHeapStats() >> new GarbageCollectionStats(1.0, 103, 1024, 5) gcMonitor.getNonHeapStats() >> new GarbageCollectionStats(0, 1024, 2048, 5) runningStats.getPrettyUpTime() >> "3 mins" runningStats.getAllBuildsTime() >> 1000 then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/HealthExpirationStrategyTest.groovy
GarbageCollectorMonitoringStrategy strategy = strategy(2.0, 80, 90, 5.0) GarbageCollectionStats belowThreshold = stats(1, 1, true) GarbageCollectionStats aboveHeapThreshold = stats( strategy.getHeapUsageThreshold() + 1, strategy.getGcRateThreshold() + 1, true ) GarbageCollectionStats aboveThrashingThreshold = stats( strategy.getHeapUsageThreshold() + 1,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 11.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStatsTest.groovy
def heapStats = GarbageCollectionStats.forHeap(heapEvents) expect: heapStats.valid heapStats.eventCount == 5 heapStats.gcRate == 3.0d heapStats.maxSizeInBytes == 1000 heapStats.usedPercent == 50 } def "correctly calculates stats for non-heaps"() { def nonHeapStats = GarbageCollectionStats.forNonHeap(nonHeapEvents) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java
import org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus; import org.gradle.launcher.daemon.server.expiry.DaemonExpirationStrategy; import org.gradle.launcher.daemon.server.health.gc.GarbageCollectionStats; import org.gradle.launcher.daemon.server.health.gc.GarbageCollectorMonitoringStrategy; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.ArrayList; import java.util.List;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 7.9K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)