Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,003 for daemons (0.15 sec)

  1. build.gradle.kts

        id("gradlebuild.generate-subprojects-info")  // CI: Generate subprojects information for the CI testing pipeline fan out
        id("gradlebuild.cleanup")                    // CI: Advanced cleanup after the build (like stopping daemons started by tests)
    
        id("gradlebuild.update-versions")            // Local development: Convenience tasks to update versions in this build: 'released-versions.json', 'agp-versions.properties', ...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 11:54:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientsManager.java

            } catch (UnsupportedOperationException e) {
                return -1;
            }
        }
    
        /**
         * Select idle daemon clients to stop.
         *
         * @param selectionFunction Gets all idle daemon clients, daemons of returned clients are stopped
         */
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvents.java

                }
            });
    
            // User likely doesn't care about daemons that stopped a long time ago
            for (DaemonStopEvent event : sortedEvents) {
                Long pid = event.getPid();
                if (event.occurredInLastHours(RECENTLY) && !uniqueStoppedPids.contains(pid)) {
                    // We can only determine if two DaemonStopEvent point at the same daemon if we know the PIDs
                    if (pid != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/CompatibleDaemonExpirationStrategy.java

            this.daemon = daemon;
            this.compatibilitySpec = compatibilitySpec;
        }
    
        CompatibleDaemonExpirationStrategy(Daemon daemon) {
            this(daemon, new DaemonCompatibilitySpec(daemon.getDaemonContext().toRequest()));
        }
    
        @Override
        public DaemonExpirationResult checkExpiration() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 18:27:45 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerContinuousIntegrationTest.groovy

                    doLast {
                        assert services.get(WorkerDaemonClientsManager).allClients.size() == 0
                    }
                }
    """
        }
    
        def "reuses compiler daemons across continuous build instances" () {
            def inputFileName = sourceFileName
            def inputFile = file(inputFileName).createFile()
            def compilerDaemonIdentityFileName = "build/compilerId"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 04 07:31:58 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkQueue.java

         *
         * Execution of the work may begin immediately.
         *
         * Work submitted using {@link WorkerExecutor#processIsolation()} will execute in an idle daemon that meets the requirements set
         * in the {@link ProcessWorkerSpec}.  If no idle daemons are available, a new daemon will be started.  Any errors
         * will be thrown from {@link #await()} or from the surrounding task action if {@link #await()} is not used.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

                        sync.releaseAll()
                        toolingApi.daemons.daemon.kill()
                        killed = true
                    }
                }, EnumSet.of(OperationType.TEST)).run()
            }
    
            then: "build fails with a DaemonDisappearedException"
            GradleConnectionException ex = thrown()
            ex.cause.message.contains('Gradle build daemon disappeared unexpectedly')
    
            and:
            !result.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfo.java

         * @return the number of builds that the daemon has run
         */
        int getNumberOfBuilds();
    
        /**
         * @return The time (milliseconds) since epoch at which the daemon was started
         */
        long getStartedAt();
    
        /**
         * @return The idle timeout (milliseconds) of the daemon
         */
        long getIdleTimeout();
    
        /**
         * @return The number of running daemons
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/RetryConditions.groovy

                for (daemon in daemonsFixture.daemons) {
                    if (daemon.logContains('Could not receive message from client.')
                        && daemon.logContains('java.lang.NullPointerException')
                        && daemon.logContains('org.gradle.launcher.daemon.server.exec.LogToClient')) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientCancellationHandler.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    import java.util.concurrent.atomic.AtomicBoolean;
    
    /**
     * A handler that stops all worker daemons when the build is cancelled.
     */
    @ServiceScope(Scope.BuildSession.class)
    @NonNullApi
    public class WorkerDaemonClientCancellationHandler implements Stoppable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top