- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 585 for classloaders (0.3 sec)
-
platforms/core-execution/workers/src/main/java/org/gradle/workers/package-info.java
* See the License for the specific language governing permissions and * limitations under the License. */ /** * Workers allow running pieces of work in the background, either * in-process in isolated classloaders or out-of-process in reusable * daemons. * * @since 3.5 */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 817 bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
} } private void runTestMethod(ClassLoader classLoader) throws Exception { Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName()); test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance()); } private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName) throws Exception {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/GuavaBackedClassLoaderCache.java
import java.util.concurrent.Callable; /** * Simple guava-based classloader cache. Usually used with a very small size (< 10), * as classloaders are strongly referenced. * * Keeping them strongly referenced allows us to correctly release resources for the evicted entries. */ public class GuavaBackedClassLoaderCache<K> implements AutoCloseable { private final Cache<K, ClassLoader> cache;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.3K bytes - Viewed (0) -
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"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 23 19:34:48 UTC 2022 - 7.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/RemoteProcess.java
assertThat(System.getenv().get("TEST_ENV_VAR"), equalTo("value")); // Check ClassLoaders ClassLoader antClassLoader = Project.class.getClassLoader(); ClassLoader thisClassLoader = getClass().getClassLoader(); ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader(); assertThat(antClassLoader, sameInstance(systemClassLoader));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jul 14 01:36:23 UTC 2021 - 2.3K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/tooling/internal/provider/serialization/PayloadSerializerTest.groovy
def reply2 = originator.deserialize(receiver.serialize(received2)) then: received1.class.classLoader == received2.class.classLoader received1.payload.class.classLoader == received2.payload.class.classLoader reply1.class == wrapperClass reply1.payload.class == payloadClass reply2.class == wrapperClass reply2.payload.class == payloadClass
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 8.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/ClassLoaderCache.java
* @return the classloader. */ ClassLoader createIfAbsent(ClassLoaderId id, ClassPath classPath, @Nullable ClassLoader parent, Function<ClassLoader, ClassLoader> factoryFunction, @Nullable HashCode implementationHash); /** * Discards the given classloader. */ void remove(ClassLoaderId id);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 02 22:15:54 UTC 2020 - 2.8K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ValueSnapshot.java
* * <p>Implementations are not required to be able to recreate the object, and should retain as little state as possible. * In particular, implementations should not hold on to user ClassLoaders.</p> */ public interface ValueSnapshot extends Hashable { /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java
private final DeserializeMap map; public PayloadSerializerObjectInputStream(InputStream inputStream, ClassLoader classLoader, Map<Short, ClassLoaderDetails> classLoaderDetails, DeserializeMap map) throws IOException { super(inputStream, classLoader); this.classLoaderDetails = classLoaderDetails; this.map = map; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 3.7K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/MoreMemorySampleModifier.java
import org.gradle.util.internal.GUtil; import java.io.File; import java.util.Properties; /** * Gives the sample tests more metaspace, as we currently never collect old buildSrc/buildscript classloaders. */ public class MoreMemorySampleModifier implements SampleModifier { private static final String ORG_GRADLE_JVMARGS = "org.gradle.jvmargs"; @Override public Sample modify(Sample sample) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2K bytes - Viewed (0)