Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Metaspace (0.14 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/HealthExpirationStrategyTest.groovy

            then:
            result.status == GRACEFUL_EXPIRE
            result.reason == "after running out of JVM heap space and after running out of JVM Metaspace"
        }
    
        def "can detect both thrashing and metaspace conditions"() {
            given:
            def underTest = new HealthExpirationStrategy(
                health(aboveThrashingThreshold, aboveMetaspaceThreshold),
                strategy
    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

    These settings can be adjusted by setting 'org.gradle.jvmargs' in 'gradle.properties'.
    The currently configured max heap space is '512 MiB' and the configured max metaspace is 'unknown'.
    ${COMMON_HINT}""")
        }
    
        def "expires daemon when metaspace leaks"() {
            given:
            configureGarbageCollectionNonHeapEventsFor(256, 512, 35, 0)
    
            when:
            run "injectEvents"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectorMonitoringStrategy.java

        public static final GarbageCollectorMonitoringStrategy ORACLE_PARALLEL_CMS =
            new GarbageCollectorMonitoringStrategy("PS Old Gen", "Metaspace", "PS MarkSweep", 1.2, 80, 80, 5.0);
        public static final GarbageCollectorMonitoringStrategy ORACLE_6_CMS =
            new GarbageCollectorMonitoringStrategy("CMS Old Gen", "Metaspace", "ConcurrentMarkSweep", 1.2, 80, 80, 5.0);
        public static final GarbageCollectorMonitoringStrategy ORACLE_SERIAL =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

     * whenever unhealthy conditions are detected. Currently, this strategy monitors JVM memory
     * health by detecting GC thrashing and excessive heap or metaspace usage. In addition to
     * expiring the daemon, whenever unhealthy conditions are detected, this strategy will
     * print a warning log to the console informing the user of the issue and instructing them
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitor.java

         * Returns a {@link GarbageCollectionStats} object for the tenured heap of the daemon process.
         */
        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)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/MoreMemorySampleModifier.java

    import org.gradle.exemplar.test.runner.SampleModifier;
    import org.gradle.util.internal.GUtil;
    
    import java.io.File;
    import java.util.Properties;
    
    /**
     * Gives the sample tests more metaspace, as we currently never collect old buildSrc/buildscript classloaders.
     */
    public class MoreMemorySampleModifier implements SampleModifier {
    
        private static final String ORG_GRADLE_JVMARGS = "org.gradle.jvmargs";
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top