- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 166 for classloaders (0.51 sec)
-
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java
return "{details=" + details + " classloaders=" + classLoaders + "}"; } Set<ClassLoader> getClassLoaders() { Set<ClassLoader> candidates = new LinkedHashSet<>(); for (WeakReference<ClassLoader> reference : classLoaders) { ClassLoader classLoader = reference.get(); if (classLoader != null) { candidates.add(classLoader);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 10K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
classRealm.importFromParent(imp); } } } private static Object getId(ClassLoader classLoader) { if (classLoader instanceof ClassRealm) { return ((ClassRealm) classLoader).getId(); } return classLoader; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Jan 10 12:53:42 UTC 2024 - 12.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ServiceLocatorTest.groovy
result instanceof String 1 * classLoader.getResources("META-INF/services/java.lang.String") >> Collections.enumeration([serviceFile]) 1 * classLoader.loadClass('org.gradle.ImplClass') >> String } def "uses union of resources found in all ClassLoaders"() { def ClassLoader classLoader2 = Mock() def serviceLocator = new DefaultServiceLocator(classLoader, classLoader2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/plugin/ScriptPluginClassLoadingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:34 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/loader/DefaultToolingImplementationLoaderTest.groovy
then: consumerConnection.delegate.class != connectionImplementation //different classloaders consumerConnection.delegate.class.name == connectionImplementation.name consumerConnection.delegate.configured where: connectionImplementation | adapter
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java
// We are using a ConcurrentHashMap here because: // - We don't want to use a Set with CLASS_COMPARATOR, since that would treat two classes with the same name originating from different classloaders as identical, allowing only one in the Set. // - ConcurrentHashMap.newKeySet() isn't available on Java 6, yet, and that is where this code needs to run.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy
and: 'classloader1 is reused' outputContains 'probe(classloader1) => 4' outputContains 'probe(classloader1) => 5' outputContains 'probe(classloader1) => 6' and: 'classloader2 is reused' outputContains 'probe(classloader2) => 4' outputContains 'probe(classloader2) => 5' outputContains 'probe(classloader2) => 6' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 11:47:23 UTC 2024 - 29.1K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
/** * Use a WeakHashMap here, so the keys (Class objects) can be garbage collected. * This approach prevents permgen space overflows due to retention of discarded * classloaders. */ private static final Map<Class<?>, WeakReference<ClassMap>> CLASS_MAPS = new WeakHashMap<>(); static final int EOF = -1; static final char PROPERTY_START = '.';
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 05 08:11:33 UTC 2023 - 10.7K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt
localSourcePath: ClassPath ): IntermediateScriptModel? { val buildScript = project.discoverBuildScript() ?: return null // TODO:isolated this relies on the hierarchy of classloaders val compilationClassPath = project.scriptCompilationClassPath val accessorsClassPath = project.serviceOf<ClassPathModeExceptionCollector>().runCatching { project.accessorsClassPathOf(compilationClassPath)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 11:06:08 UTC 2024 - 12.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java
// NOTE: We do not want/need a decorated version of JavaForkOptions or JavaDebugOptions because // these immutable instances are held across builds and will retain classloaders/services in the decorated object
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 10 06:16:11 UTC 2023 - 24K bytes - Viewed (0)