Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,003 for daemons (0.27 sec)

  1. platforms/jvm/language-jvm/src/testFixtures/groovy/org/gradle/api/tasks/compile/AbstractCompilerDaemonReuseIntegrationTest.groovy

                }
            """
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        @UnsupportedWithConfigurationCache(because = "parallel by default")
        def "reuses compiler daemons within a single project build"() {
            withSingleProjectSources()
    
            when:
            succeeds("compileAll")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. 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)
  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. pkg/controller/daemon/doc.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package daemon contains logic for watching and synchronizing
    // daemons.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 16 17:48:21 UTC 2016
    - 714 bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top