Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for daemons (0.21 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

        }
    
        def "daemon with different native services flag is not reused"() {
            given:
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            when:
            executer.withArguments("-D$NATIVE_SERVICES_OPTION=$firstRunNativeServicesOption")
            succeeds()
    
            then:
            daemons.daemon.becomesIdle()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

        }
    
        /**
         * Specifies that the test use real daemon processes (not embedded) and a test-specific daemon registry. Uses a shared Gradle user home dir
         */
        void requireIsolatedDaemons() {
            if (useSeparateDaemonBaseDir) {
                daemonBaseDir = testWorkDirProvider.testDirectory.file("daemons")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Configures that any daemons used by the execution are unique to the test.
         *
         * This value is persistent across executions by this executer.
         *
         * <p>Note: this does not affect the Gradle user home directory.</p>
         */
        GradleExecuter requireIsolatedDaemons();
    
        /**
         * Disable worker daemons expiration.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc

    ====
    include::sample[dir="snippets/workerApi/workerDaemon/kotlin",files="build.gradle.kts[tags=worker-daemon]"]
    include::sample[dir="snippets/workerApi/workerDaemon/groovy",files="build.gradle[tags=worker-daemon]"]
    ====
    
    When a unit of work for a worker daemon is submitted, Gradle will first look to see if a compatible, idle daemon already exists.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 13:41:08 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy

                def requestedTargetJdk = project.findProperty("targetJdk")
    
                // Earlier versions of Gradle can sometimes fail to connect to the just started Gradle daemon.
                // The failure will be the "tried to connect to 100 daemons" error
                // If we're testing against a version that has this problem, we can ignore it.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/BuildActionsFactory.java

    import org.gradle.launcher.daemon.bootstrap.ForegroundDaemonAction;
    import org.gradle.launcher.daemon.client.DaemonClient;
    import org.gradle.launcher.daemon.client.DaemonClientFactory;
    import org.gradle.launcher.daemon.client.DaemonClientGlobalServices;
    import org.gradle.launcher.daemon.client.DaemonStopClient;
    import org.gradle.launcher.daemon.client.ReportDaemonStatusClient;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top