- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getGcRate (0.13 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java
) { if (strategy.isAboveGcThrashingThreshold(heapStats.getGcRate())) { reasons.add("since the JVM garbage collector is thrashing"); expirationStatus = highestPriorityOf(IMMEDIATE_EXPIRE, expirationStatus); } else if (strategy.isAboveGcRateThreshold(heapStats.getGcRate())) { reasons.add("after running out of JVM heap space");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStats.java
GarbageCollectionEvent first = events.iterator().next(); return first.getUsage().getMax(); } public double getGcRate() { return gcRate; } public int getUsedPercent() { return usedPercent; } public long getMaxSizeInBytes() { return maxSizeInBytes; }
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/DaemonHealthStats.java
GarbageCollectionStats heapStats = gcMonitor.getHeapStats(); if (heapStats.isValid()) { message.append(format(Locale.ENGLISH, ", GC rate: %.2f/s", heapStats.getGcRate())); message.append(format(", heap usage: %s%% of %s", heapStats.getUsedPercent(), NumberUtil.formatBytes(heapStats.getMaxSizeInBytes()))); }
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/test/groovy/org/gradle/launcher/daemon/server/health/HealthExpirationStrategyTest.groovy
} GarbageCollectionStats stats(int percent, double rate, boolean valid) { return Stub(GarbageCollectionStats) { getUsedPercent() >> percent getGcRate() >> rate isValid() >> valid getEventCount() >> (valid ? 5 : 0) } }
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/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy
${injectEvents("monitor.get${type.capitalize()}Events()", events, initial, max)} println "GC rate: " + stats.get${type.capitalize()}Stats().getGcRate() println " % used: " + stats.get${type.capitalize()}Stats().getUsedPercent() + "%" """ } void waitForImmediateDaemonExpiration() { buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 14.2K bytes - Viewed (0)