Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 798 for Daemons (0.17 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r64/DaemonReuseCrossVersionSpec.groovy

            then:
            assertSameDaemon(original)
        }
    
        def "CLI reuses existing daemon started by TAPI"() {
            runBuildViaTAPI()
            def original = getDaemonUID()
            when:
            runBuildViaCLI()
            then:
            assertSameDaemon(original)
        }
    
        String getDaemonUID() {
            toolingApi.daemons.daemon.context.uid
        }
    
        void assertSameDaemon(String expectedUID) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStopClientTest.groovy

            def daemon2 = Stub(DaemonConnectDetails)
    
            when:
            client.gracefulStop([daemon1, daemon2])
    
            then:
            1 * connector.maybeConnect(daemon1) >>> connection
            _ * connection.daemon >> daemon1
            1 * connection.dispatch({it instanceof StopWhenIdle})
            1 * connection.receive() >> new Success(null)
            1 * connection.dispatch({it instanceof Finished})
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonJvmSettingsIntegrationTest.groovy

            String gradleVersion = (output =~ /GRADLE_VERSION: (.*)/)[0][1]
            daemons(gradleVersion).daemons.size() == 1
    
            where:
            javaToolOptions << ["-Xms513m", "-Xmx255m", "-Xms128m -Xmx256m"]
        }
    
        @Requires(UnitTestPreconditions.Jdk16OrEarlier) // TraceClassLoading option has been deprecated and is removed in JDK17
        def 'can start the daemon with ClassLoading tracing enabled'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/AbstractVisualStudioIntegrationSpec.groovy

            //
            // We isolate the Gradle daemons so we know the daemons are only used for these particular tests.
            //
            // To workaround a msbuild issue, we require the daemon to be used by the test executor, so the Gradle daemon will be
            // started before msbuild is executed.
            // If msbuild starts the Gradle daemon, it will wait for the Gradle daemon to exit before moving on to the next msbuild task.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ContinuousBuildCancellationIntegrationTest.groovy

                assert !gradle.isRunning()
            }
    
            and:
            !output.contains(DaemonMessages.CANCELED_BUILD)
            !daemons.daemon.log.contains(DaemonMessages.CANCELED_BUILD)
    
            cleanup:
            daemons.killAll()
        }
    
        DaemonsFixture getDaemons() {
            new DaemonLogsAnalyzer(executer.daemonBaseDir)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy

                        // ignore
                    }
                    return new DaemonExpirationResult(DaemonExpirationStatus.GRACEFUL_EXPIRE, "expiring daemon with TestExpirationStrategy uuid: \${dc?.getUid()}")
                }
            }
    
            def daemon =  services.get(Daemon)
            daemon.scheduleExpirationChecks(new AllDaemonExpirationStrategy([new TestExpirationStrategy(project)]), $EXPIRATION_CHECK_FREQUENCY)
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/MasterExpirationStrategy.java

            // Expire recently unused Daemons when memory pressure is high
            addLowMemoryDaemonExpirationStrategyWhenSupported(daemon, strategies, listenerManager);
    
            // Expire when Daemon Registry becomes unreachable for some reason
            strategies.add(new DaemonRegistryUnavailableExpirationStrategy(daemon));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

    class StdioIntegrationTest extends AbstractIntegrationSpec {
        def setup() {
            executer.requireDaemon()
            // This isn't actually required - the test is fine with shared daemons
            // In fact, it would be much better to test this feature using shared daemons
            executer.requireIsolatedDaemons()
        }
    
        def "task can read stdin when stdin has bounded length"() {
            given:
            buildFile << '''
    task echo {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/InternalInvalidatableVirtualFileSystemConnection.java

     */
    public interface InternalInvalidatableVirtualFileSystemConnection extends InternalProtocolInterface {
    
        /**
         * Notifies all daemons about file changes made by an external process, like an IDE.
         *
         * <p>The daemons will use this information to update the retained file system state.
         *
         * <p>The paths which are passed in need to be absolute, canonicalized paths.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/main/java/org/gradle/workers/WorkerExecutor.java

         * @since 5.6
         */
        WorkQueue classLoaderIsolation();
    
        /**
         * Creates a {@link WorkQueue} to submit work for asynchronous execution in a daemon process.
         *
         * Work will execute in an idle daemon, if available.  If no idle daemons are available, a new daemon will be started.
         *
         * @since 5.6
         */
        WorkQueue processIsolation();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top