Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for daemons (0.23 sec)

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

            given:
            // Start a daemon
            executer.run()
            daemons.daemon.assertIdle()
            // Kill the daemon without letting it shutdown cleanly
            daemons.daemon.kill()
    
            // Take over the daemon's port. The daemon may take some time to finally shutdown and release the port.
            def nonDaemonProcess = new ServerSocket()
            ConcurrentTestUtil.poll {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/ProcessCrashHandlingIntegrationTest.groovy

            block.waitForAllPendingCalls()
            daemons.daemon.assertBusy()
            client.kill()
    
            then:
            daemons.daemon.becomesCanceled()
    
            when:
            block.releaseAll()
    
            then:
            daemons.daemon.becomesIdle()
    
            and:
            daemons.daemon.log.contains(DaemonMessages.CANCELED_BUILD)
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

            failure.assertHasDescription("Gradle build daemon has been stopped: since the JVM garbage collector is thrashing")
    
            and:
            daemons.daemon.stops()
    
            and:
            daemons.daemon.log.contains(DAEMON_STOPPING_IMMEDIATELY_MESSAGE)
            // We do not check the regular build output since sometimes it is not written before the daemon is killed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonConnector.java

    import org.gradle.launcher.daemon.context.DaemonConnectDetails;
    import org.gradle.launcher.daemon.context.DaemonContext;
    import org.gradle.launcher.daemon.diagnostics.DaemonStartupInfo;
    import org.gradle.launcher.daemon.logging.DaemonMessages;
    import org.gradle.launcher.daemon.protocol.Message;
    import org.gradle.launcher.daemon.registry.DaemonInfo;
    import org.gradle.launcher.daemon.registry.DaemonRegistry;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top