Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getGcRate (0.11 sec)

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