Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for classLoaderIsolation (0.23 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

            'processIsolation'     | 'processIsolation'     | 'processIsolation'
            'classLoaderIsolation' | 'classLoaderIsolation' | 'classLoaderIsolation'
            'processIsolation'     | 'classLoaderIsolation' | 'both processIsolation and classLoaderIsolation'
            'noIsolation'          | 'classLoaderIsolation' | 'both noIsolation and classLoaderIsolation'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                    }
                }
            """
    
            expect:
            succeeds "verifyNotIsolated"
        }
    
        def "user classes are isolated when using classLoaderIsolation"() {
            fixture.withWorkActionClassInBuildScript()
    
            buildFile << """
                class MutableItem {
                    static String value = "foo"
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/DefaultWorkerExecutor.java

        }
    
        @Override
        public WorkQueue noIsolation() {
            return noIsolation(Actions.doNothing());
        }
    
        @Override
        public WorkQueue classLoaderIsolation() {
            return classLoaderIsolation(Actions.doNothing());
        }
    
        @Override
        public WorkQueue processIsolation() {
            return processIsolation(Actions.doNothing());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:17:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/worker_api.adoc

    For instance, it will share the same classloader that the task is loaded from.
    This is the fastest level of isolation.
    
    link:{javadocPath}/org/gradle/workers/WorkerExecutor.html#classLoaderIsolation-org.gradle.api.Action-[`WorkerExecutor.classLoaderIsolation()`]::
    This states that the work should be run in a thread with an isolated classloader.  +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 13:41:08 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorErrorHandlingIntegrationTest.groovy

            and:
            executedAndNotSkipped(":runAgainInWorker")
            assertWorkerExecuted("runAgainInWorker")
    
            where:
            isolationMode << ["'classLoaderIsolation'", "'processIsolation'"]
        }
    
        def "produces a sensible error even if the action failure cannot be fully serialized in #isolationMode"() {
            fixture.withWorkActionClassInBuildSrc()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    This will become an error in Gradle 6.0.
    
    ==== Method `WorkerExecutor.submit()` is deprecated
    
    The `WorkerExecutor.submit()` method is now deprecated.
    The new `noIsolation()`, `classLoaderIsolation()` and `processIsolation()` methods should now be used to submit work.
    See <<worker_api.adoc#tasks_parallel_worker,the section on the Worker API>> for more information on using these methods.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top