- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 585 for classloaders (0.14 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) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchy.kt
visitedClassLoaders.put(classLoader, true) val record = ClassLoaderNode(idOf(classLoader), classLoader.toString()) classLoaders.add(record) stack.push(record) super.visit(classLoader) stack.pop() } override fun visitParent(classLoader: ClassLoader) { current.parents.add(idOf(classLoader))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/provider/ClassLoaderHierarchyTest.kt
assertThat(hierarchy.classLoaders.size, equalTo(3)) assertThat(hierarchy.scopes.size, equalTo(1)) assertThat(hierarchy.classLoaders[0].parents, hasItem(hierarchy.classLoaders[1].id)) assertThat(hierarchy.scopes[0].label, equalTo("the path")) assertThat(hierarchy.scopes[0].localClassLoader, equalTo(hierarchy.classLoaders[0].id))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasherTest.groovy
expect: hasher.getClassLoaderHash(classLoader) == null } private ConfigurableClassLoaderHierarchyHasher hasher(Map<ClassLoader, String> classLoaders) { classLoaders = new HashMap<>(classLoaders) classLoaders.put(ClassLoader.getSystemClassLoader(), "system") return new ConfigurableClassLoaderHierarchyHasher(classLoaders, classLoaderFactory) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3K bytes - Viewed (0) -
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-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceLocator.java
private final boolean useCaches; private final List<ClassLoader> classLoaders; public DefaultServiceLocator(ClassLoader... classLoaders) { this(true, classLoaders); } public DefaultServiceLocator(boolean useCaches, ClassLoader... classLoaders) { this.useCaches = useCaches; this.classLoaders = Arrays.asList(classLoaders); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt
buildscript { require(Thread.currentThread().contextClassLoader === this@Settings_gradle.javaClass.classLoader) println("stage 1") } require(Thread.currentThread().contextClassLoader === this@Settings_gradle.javaClass.classLoader) println("stage 2") """.trimIndent() val sourceHash = TestHashCodes.hashCodeFrom(42)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/ClassLoaderHierarchyHasher.java
/** * Provides a combined hash for a hierarchy of classloaders. */ public interface ClassLoaderHierarchyHasher { /** * Returns a hash for the given classloader hierarchy, or {@code null} * if the hierarchy contains any classloaders that are not known to Gradle. */ @Nullable HashCode getClassLoaderHash(ClassLoader classLoader);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 1K 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)