Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,575 for Reused (0.36 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            } else if (cacheEntryRequiresCommit) {
                val projectUsage = collectProjectUsage()
                commitCacheEntry(projectUsage.reused)
                problems.projectStateStats(projectUsage.reused.size, projectUsage.updated.size)
                cacheEntryRequiresCommit = false
                // Can reuse the cache entry for the rest of this build invocation
                cacheAction = ConfigurationCacheAction.LOAD
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/operations/execution/ExecuteDeferredWorkProgressDetails.java

         *
         * @since 8.7
         */
        String getOriginBuildInvocationId();
    
        /**
         * The build cache key of the work in the origin build invocation.
         *
         * @since 8.7
         */
        byte[] getOriginBuildCacheKeyBytes();
    
        /**
         * The execution time of the work in the build that produced the outputs being reused.
         *
         * @since 8.7
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 16:13:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/UpToDateResult.java

         * A list of messages describing the first few reasons encountered that caused the work to be executed.
         * An empty list means the work was up-to-date and hasn't been executed.
         */
        public ImmutableList<String> getExecutionReasons() {
            return executionReasons;
        }
    
        /**
         * If a previously produced output was reused in some way, the reused output's origin metadata is returned.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BuildActionCrossVersionSpec.groovy

        def "can use multiple action implementations with different classpath roots and loaded from same ClassLoader"() {
            settingsFile.text = 'rootProject.name = "not broken"'
    
            // Ensure daemon is reused
            toolingApi.requireIsolatedDaemons()
    
            // Copy each of the action classes into its own classes directory and load into a single ClassLoader
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/loadercache/DefaultClassLoaderCacheTest.groovy

            DefaultClassPath.of(paths.collect { file(it) } as Iterable<File>)
        }
    
        ClassLoader classLoader(ClassPath classPath) {
            new URLClassLoader(classPath.asURLArray)
        }
    
        def "class loaders are reused when parent, class path and implementation hash are the same"() {
            expect:
            def root = classLoader(classPath("root"))
            cache.get(id1, classPath("c1"), root, null) == cache.get(id1, classPath("c1"), root, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 23 19:34:48 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

    @IntegrationTestTimeout(180)
    class WorkerDaemonLifecycleTest extends AbstractDaemonWorkerExecutorIntegrationSpec {
        String logSnapshot = ""
    
        def "worker daemons are not reused across builds"() {
            fixture.withWorkActionClassInBuildScript()
            buildFile << """
                import org.gradle.workers.internal.WorkerDaemonFactory
    
                task runInWorker1(type: WorkerTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheKeyIntegrationTest.groovy

            when:
            configurationCacheRun "help", "--offline"
            then:
            configurationCache.assertStateStored()
    
            // Now repeat invocations in different order to make sure both entries can be reused
            when:
            configurationCacheRun "help"
            then:
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "help", "--offline"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy

            result.assertHasPostBuildOutput("Configuration cache entry stored.")
    
            when:
            configurationCacheRun("ok")
    
            then:
            result.assertHasPostBuildOutput("Configuration cache entry reused.")
    
            when:
            configurationCacheFails("broken")
    
            then:
            outputContains("Configuration cache entry discarded with 2 problems.")
            problems.assertFailureHasProblems(failure) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/isolated_projects.adoc

    When the cache entry can be reused, Gradle short-circuits the entire sync operation and simply returns the cached result to the IDE.
    
    Generally, the settings and build scripts affect the IDE model, but the source code of the projects does not.
    So, when these scripts change the cache entry cannot be reused.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:53:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy

            endorseFrom.targetComponent.nodes[0].ownStrictVersionConstraints.getModules().size() == 1
            endorseFrom.targetComponent.nodes[0].ownStrictVersionConstraints == endorsedStrictVersions //instance reused
        }
    
        def "collects multiple endorsed strict versions from one module"() {
            when:
            def endorseFrom = edge(root, false, null, nextNode(12), true)
            root.collectEndorsedStrictVersions([endorseFrom])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top