Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DefaultGarbageCollectionMonitor (0.33 sec)

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

    import java.lang.management.ManagementFactory;
    import java.util.concurrent.ScheduledExecutorService;
    import java.util.concurrent.ScheduledFuture;
    import java.util.concurrent.TimeUnit;
    
    public class DefaultGarbageCollectionMonitor implements GarbageCollectionMonitor {
        public static final String DISABLE_POLLING_SYSTEM_PROPERTY = "org.gradle.daemon.gc.polling.disabled";
    
        private static final int POLL_INTERVAL_SECONDS = 1;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitorTest.groovy

            when:
            new DefaultGarbageCollectionMonitor(GarbageCollectorMonitoringStrategy.UNKNOWN, scheduledExecutorService)
    
            then:
            0 * scheduledExecutorService.scheduleAtFixedRate(_, _, _, _)
        }
    
        def "heap stats defaults to empty given unknown garbage collector"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/DaemonHealthStatsTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server.health
    
    
    import org.gradle.launcher.daemon.server.health.gc.DefaultGarbageCollectionMonitor
    import org.gradle.launcher.daemon.server.health.gc.GarbageCollectionInfo
    import org.gradle.launcher.daemon.server.health.gc.GarbageCollectionStats
    import org.gradle.launcher.daemon.server.stats.DaemonRunningStats
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    import org.gradle.internal.util.NumberUtil;
    import org.gradle.launcher.daemon.server.health.gc.DefaultGarbageCollectionMonitor;
    import org.gradle.launcher.daemon.server.health.gc.GarbageCollectionInfo;
    import org.gradle.launcher.daemon.server.health.gc.GarbageCollectionMonitor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

        def setup() {
            garbageCollector = version
            executer.withBuildJvmOpts(garbageCollector.configuration.jvmArgs.split(" "))
            executer.withEnvironmentVars(JAVA_TOOL_OPTIONS: "-D${DefaultGarbageCollectionMonitor.DISABLE_POLLING_SYSTEM_PROPERTY}=true")
        }
    
        def "does not expire daemon when performance monitoring is disabled"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.launcher.daemon.server.health.gc.DefaultGarbageCollectionMonitor$1> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DefaultGarbageCollectionMonitor.java:0)
    Class <org.gradle.launcher.daemon.server.health.gc.DefaultGarbageCollectionMonitor> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (DefaultGarbageCollectionMonitor.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top