- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for getNonHeapStats (0.22 sec)
-
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java
scheduler.stop(); } } public GarbageCollectionStats getHeapStats() { return gcMonitor.getHeapStats(); } public GarbageCollectionStats getNonHeapStats() { return gcMonitor.getNonHeapStats(); } /** * Elegant description of daemon's health */ public String getHealthInfo() { StringBuilder message = new StringBuilder();
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
given: Logger logger = Mock(Logger) DaemonHealthStats stats = Mock(DaemonHealthStats) stats.getNonHeapStats() >> belowThreshold def underTest = new HealthExpirationStrategy(stats, strategy, logger) // If there is no unhealthy condition, we expect no logging. when:
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/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/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitor.java
*/ 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/gc/GarbageCollectionMonitorTest.groovy
given: def monitor = new DefaultGarbageCollectionMonitor(GarbageCollectorMonitoringStrategy.UNKNOWN, scheduledExecutorService) when: monitor.getNonHeapStats() then: noExceptionThrown() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 1.8K 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 public SlidingWindow<GarbageCollectionEvent> getHeapEvents() { return heapEvents; }
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/HealthExpirationStrategy.java
expirationStatus = highestPriorityOf(GRACEFUL_EXPIRE, expirationStatus); } } GarbageCollectionStats nonHeapStats = stats.getNonHeapStats(); if (nonHeapStats.isValid() && nonHeapStats.getEventCount() >= 5 && strategy.isAboveNonHeapUsageThreshold(nonHeapStats.getUsedPercent()) ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 7.9K bytes - Viewed (0)