- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 70 for classloaders (0.21 sec)
-
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/DefaultPayloadClassLoaderRegistry.java
return cache.getDetails(classLoader, classLoaderToDetails); } private static class ClassLoaderSpecVisitor extends ClassLoaderVisitor { final ClassLoader classLoader; final List<ClassLoader> parents = new ArrayList<>(); ClassLoaderSpec spec; URL[] classPath; public ClassLoaderSpecVisitor(ClassLoader classLoader) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderCachingIntegrationTest.groovy
import org.gradle.integtests.fixtures.longlived.PersistentBuildProcessIntegrationTest class ConfigurationCacheClassLoaderCachingIntegrationTest extends PersistentBuildProcessIntegrationTest { def "reuses cached ClassLoaders"() { given: 'a Task that holds some static data' File staticDataLib = file("lib/StaticData.jar").tap { parentFile.mkdirs() } jarWithClasses( staticDataLib,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializer.java
} finally { IoActions.closeQuietly(objectStream); } Map<Short, ClassLoaderDetails> classLoaders = new HashMap<Short, ClassLoaderDetails>(); map.collectClassLoaderDefinitions(classLoaders); return new SerializedPayload(classLoaders, buffer.readAsListOfByteArrays()); } catch (IOException e) { throw UncheckedException.throwAsUncheckedException(e); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/MultiParentClassLoader.java
import java.util.concurrent.CopyOnWriteArrayList; /** * A {@code ClassLoader} which delegates to multiple parent ClassLoaders. * * Note: It's usually a good idea to add a {@link CachingClassLoader} between this ClassLoader and any * ClassLoaders that use it as a parent, to prevent every path in the ClassLoader graph being searched. */ public class MultiParentClassLoader extends ClassLoader implements ClassLoaderHierarchy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadClassLoaderFactory.java
import org.gradle.internal.classloader.ClassLoaderSpec; import java.util.List; /** * Used to create ClassLoaders used to serialize objects between the tooling api provider and daemon. * * <p>Implementations are not required to be thread-safe.</p> */ public interface PayloadClassLoaderFactory { ClassLoader getClassLoaderFor(ClassLoaderSpec spec, List<? extends ClassLoader> parents);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 1K bytes - Viewed (0) -
android/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) -
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/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) -
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) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt
} override fun classloaderCreated(scopeId: ClassLoaderScopeId, classLoaderId: ClassLoaderId, classLoader: ClassLoader, classPath: ClassPath, implementationHash: HashCode?) { synchronized(lock) { val spec = scopeSpecs[scopeId] require(spec != null) // TODO - a scope can currently potentially have multiple export and local ClassLoaders but we're assuming one here
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 4.7K bytes - Viewed (0)