- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getUsedPercent (0.58 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java
message.append(format(", heap usage: %s%% of %s", heapStats.getUsedPercent(), NumberUtil.formatBytes(heapStats.getMaxSizeInBytes()))); } GarbageCollectionStats nonHeapStats = gcMonitor.getNonHeapStats(); if (nonHeapStats.isValid()) { message.append(format(", non-heap usage: %s%% of %s", nonHeapStats.getUsedPercent(), NumberUtil.formatBytes(nonHeapStats.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/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java
GarbageCollectionStats heapStats = stats.getHeapStats(); if (heapStats.isValid() && heapStats.getEventCount() >= 5 && strategy.isAboveHeapUsageThreshold(heapStats.getUsedPercent()) ) { if (strategy.isAboveGcThrashingThreshold(heapStats.getGcRate())) { reasons.add("since the JVM garbage collector is thrashing");
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; } public long getEventCount() { return eventCount; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4K bytes - Viewed (0)