Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GarbageCollectionInfo (0.29 sec)

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

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server.health.gc;
    
    import java.lang.management.GarbageCollectorMXBean;
    import java.lang.management.ManagementFactory;
    
    public class GarbageCollectionInfo {
        /**
         * Approx. time spent in gc. See {@link GarbageCollectorMXBean}
         */
        public long getCollectionTime() {
            long garbageCollectionTime = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/DaemonHealthStats.java

            this.scheduler = executorFactory.createScheduled("Daemon health stats", 1);
            this.gcInfo = new GarbageCollectionInfo();
            this.gcMonitor = new DefaultGarbageCollectionMonitor(strategy, scheduler);
        }
    
        @VisibleForTesting
        DaemonHealthStats(DaemonRunningStats runningStats, GarbageCollectionInfo gcInfo, GarbageCollectionMonitor gcMonitor) {
            this.runningStats = runningStats;
            this.scheduler = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/DaemonHealthStatsTest.groovy

    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
    import spock.lang.Specification
    
    class DaemonHealthStatsTest extends Specification {
    
        def gcInfo = Stub(GarbageCollectionInfo)
        def gcMonitor = Stub(DefaultGarbageCollectionMonitor)
    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. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.launcher.daemon.server.health.gc.GarbageCollectionInfo> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (GarbageCollectionInfo.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