Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 413 for daemons (0.17 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.java.compile.daemon
    
    import org.gradle.integtests.fixtures.ProcessFixture
    import org.gradle.integtests.fixtures.daemon.DaemonClientFixture
    import org.gradle.integtests.fixtures.daemon.DaemonIntegrationSpec
    import org.gradle.internal.os.OperatingSystem
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/extensibility/plugin-development/src/integTest/resources/org/gradle/compile/daemon/ParallelCompilerDaemonIntegrationTest/shared/build.gradle

    subprojects {
        apply plugin: "groovy"
    
        dependencies {
            implementation localGroovy()
        }
    
        compileJava.options.fork = true
    
        // force creation of multiple daemons for Java compilation by alternating between two distinct sets of JVM args
        def count = (project.name - "project") as int
        compileJava.options.forkOptions.jvmArgs = count % 2 ? ["-dsa"] : ["-esa"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 388 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultProjectConnection.java

            operationParamsBuilder.setCancellationToken(new DefaultCancellationTokenSource().token());
            operationParamsBuilder.setParameters(parameters);
            operationParamsBuilder.setEntryPoint("Notify daemons about changed paths API");
            connection.run(
                new ConsumerAction<Void>() {
                    @Override
                    public ConsumerOperationParameters getParameters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/AbstractWrapperCrossVersionIntegrationTest.groovy

                executer.withCommandLineGradleOpts("-Dgradle.user.home=${executer.gradleUserHomeDir}")
            }
    
            // Use isolated daemons in order to verify that using the installed distro works, and so that the daemons aren't visible to other tests, because
            // the installed distro is deleted at the end of this test
            executer.requireIsolatedDaemons()
            return executer
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/context/DaemonContext.java

    /**
     * A value object that describes a daemons environment/context.
     * <p>
     * This is used by clients to determine whether or not a daemon meets its requirements
     * such as JDK version, special system properties etc.
     * <p>
     * Instances are serialized by {@link org.gradle.launcher.daemon.context.DefaultDaemonContext.Serializer}
     * and shared via the Daemon Registry.
     *
     * Implementation is immutable.
     *
     * @see DaemonCompatibilitySpec
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top