Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isAboveGcRateThreshold (0.53 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectorMonitoringStrategy.java

        }
    
        public boolean isAboveNonHeapUsageThreshold(int percent) {
            return nonHeapUsageThreshold != -1 && percent >= nonHeapUsageThreshold;
        }
    
        public boolean isAboveGcRateThreshold(double gcEventsPerSec) {
            return gcRateThreshold != -1 && gcEventsPerSec >= gcRateThreshold;
        }
    
        public boolean isAboveGcThrashingThreshold(double gcEventsPerSec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

                    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");
                    expirationStatus = highestPriorityOf(GRACEFUL_EXPIRE, expirationStatus);
                }
            }
    
    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