Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 420 for daemons (0.12 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonInitialCommunicationFailureIntegrationSpec.groovy

            when:
            buildSucceeds()
    
            then:
            def daemon = daemons.daemon
    
            when:
            daemon.assertIdle()
            daemon.kill()
    
            then:
            buildSucceeds()
    
            and:
            def analyzer = daemons
            analyzer.daemons.size() == 2        //2 daemon participated
            analyzer.visible.size() == 1        //only one address in the registry
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 07:46:29 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
        def "stops single use daemon when build fails"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "throw new RuntimeException('bad')"
    
            when:
            fails()
    
            then:
            wasForked()
            failureHasCause "bad"
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy

        }
    
        private int countExecutedCommands() {
            toolingApi.daemons.daemon.log.count("command = ")
        }
    
        private void createIdleDaemon() {
            withConnection { connection ->
                connection.model(GradleBuild).get()
            }
            toolingApi.daemons.daemon.assertIdle()
        }
    
        def cleanup() {
            toolingApi.close()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    Live Daemons appear under the name `GradleDaemon`.
    Because this command uses the JDK, you can view Daemons running any version of Gradle.
    
    [[enable_deamon]]
    == Enable Daemon
    
    Gradle enables the Daemon by default since Gradle 3.0.
    If your project doesn't use the Daemon, you can enable it for a single build with the `--daemon` flag when you run a build:
    
    ----
    $ gradle <task> --daemon
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/ShutdownCoordinator.java

        private final Set<DaemonConnectDetails> daemons = new CopyOnWriteArraySet<DaemonConnectDetails>();
        private final DaemonStopClient client;
    
        public ShutdownCoordinator(DaemonStopClient client) {
            this.client = client;
        }
    
        @Override
        public void daemonStarted(DaemonConnectDetails daemon) {
            daemons.add(daemon);
        }
    
        @Override
        public void stop() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            reason = "Testing the daemons"
        )
        def "daemon with the same agent status is reused"() {
            given:
            executer.requireIsolatedDaemons()
            withDumpAgentStatusTask()
    
            when:
            withAgentApplied(useAgentOnFirstRun)
            succeeds()
    
            then:
            daemons.daemon.becomesIdle()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonFactory.java

                    // This notifies the cancellation handler that a worker daemon has been in use during this build session.  If the
                    // build session is cancelled, we can't guarantee that all worker daemons are in a safe state, so the cancellation
                    // handler will stop any long-lived worker daemons.  If a worker is not used during this session (i.e. this method
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 13:20:59 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonLogsAnalyzer.groovy

     */
    
    package org.gradle.integtests.fixtures.daemon
    
    import org.gradle.internal.logging.services.LoggingServiceRegistry
    import org.gradle.internal.service.ServiceRegistryBuilder
    import org.gradle.internal.service.scopes.BasicGlobalScopeServices
    import org.gradle.launcher.daemon.client.DaemonClientGlobalServices
    import org.gradle.launcher.daemon.registry.DaemonRegistry
    import org.gradle.launcher.daemon.registry.DaemonRegistryServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy

        }
    
        void assertNoRunningDaemons() {
            waitFor.eventually {
                toolingApi.daemons.daemons*.assertStopped()
            }
        }
    
        void assertNumberOfRunningDaemons(number) {
            waitFor.eventually {
                assert toolingApi.daemons.daemons.size() == number
                toolingApi.daemons.daemons*.assertBusy()
            }
            // `eventually` throws a runtime exception when the condition is never met
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonClientFactory.java

        }
    
        /**
         * Creates the services for sending simple messages to daemons.
         *
         * Currently, there are two clients which can be used from this registry:
         * - {@link DaemonStopClient} that can be used to stop daemons.
         * - {@link NotifyDaemonAboutChangedPathsClient} that can be used to notify daemons about changed paths.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top