- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for classloaders (0.19 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) -
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/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) -
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) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy
action += """ URL[] urls = parameters.files.collect { new File(getParameters().getOutputDir(), it).toURI().toURL() } ClassLoader classloader = new URLClassLoader(urls) Thread.currentThread().setContextClassLoader(classloader) """ } workerThatChangesContextClassLoader.writeToBuildFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 31K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
The problem there is that Gradle then tries to load the native library in two different classloaders in the same JDK, which isn't allowed. We could try to fix this problems, though this is only a problem for testing. """ ) @TargetGradleVersion(">=3.0")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc
[NOTE] ==== GradleRunner supports the same range of Gradle versions as the Tooling API.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 05:36:09 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ClassLoaderUtils.java
} } static Package[] getPackages(ClassLoader classLoader) { return CLASS_LOADER_PACKAGES_FETCHER.getPackages(classLoader); } @Nullable static Package getPackage(ClassLoader classLoader, String name) { return CLASS_LOADER_PACKAGES_FETCHER.getPackage(classLoader, name); } public static <T> Class<T> define(ClassLoader targetClassLoader, String className, byte[] clazzBytes) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
Closeable frq = (Closeable) sepFrqUserFrqF.get(null); frq.close(); return new WeakReference<ClassLoader>(sepLoader); } private URL[] getClassPathUrls() { ClassLoader classLoader = getClass().getClassLoader(); return classLoader instanceof URLClassLoader ? ((URLClassLoader) classLoader).getURLs() : parseJavaClassPath().toArray(new URL[0]); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 13.3K bytes - Viewed (0)