Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUsedPercent (0.17 sec)

  1. 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)
  2. 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)
Back to top