Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 585 for classloaders (0.2 sec)

  1. 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)
  2. guava-gwt/test/com/google/common/GwtTestSuite.java

          if (info.getName().endsWith("_gwt")) {
            Class<?> clazz = info.load();
            // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders?
            @SuppressWarnings("unchecked")
            Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz;
            suite.addTestSuite(cast);
          }
        }
        return suite;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 23 13:24:59 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java

                @Override
                public short visitClass(Class<?> target) {
                    ClassLoader classLoader = target.getClassLoader();
                    if (classLoader == null || PLATFORM_CLASS_LOADERS.contains(classLoader)) {
                        knownLoaders.put(PLATFORM_CLASS_LOADER_ID, PLATFORM_CLASS_LOADER_DETAILS);
                        return PLATFORM_CLASS_LOADER_ID;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaHomeBasedJavaCompilerFactory.java

    public class JavaHomeBasedJavaCompilerFactory implements Factory<ContextAwareJavaCompiler>, Serializable {
        private final List<File> compilerPluginsClasspath;
        // We use a static cache here because we want to reuse classloaders in compiler workers as
        // it has a huge impact on performance. Previously there was a single, JdkTools.current()
        // instance, but we can have different "compiler plugins" classpath. For this reason we use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/reflect/GradleStandardJavaFileManager.java

        }
    
        @Override
        public ClassLoader getClassLoader(Location location) {
            ClassLoader classLoader = super.getClassLoader(location);
            if (location.equals(StandardLocation.ANNOTATION_PROCESSOR_PATH)) {
                if (classLoader instanceof URLClassLoader) {
                    return new URLClassLoader(annotationProcessorPath.getAsURLArray(), getFilteredClassLoader(classLoader.getParent()));
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatedClassloaderWorker.java

                // TODO: we should just cache these classloaders and eject/stop them when they are no longer in use
                if (!reuseClassloader) {
                    CompositeStoppable.stoppable(workerClassLoader).stop();
                    this.workerClassLoader = null;
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r32/BuildActionCrossVersionSpec.groovy

            settingsFile.text = 'rootProject.name = "not broken"'
    
            // Ensure daemon is reused
            toolingApi.requireIsolatedDaemons()
    
            // Copy each of the action classes into its own classes directory and load into a single ClassLoader
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/cache/ModelSchemaCache.java

    import javax.annotation.Nullable;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Map;
    
    /**
     * A multi, volatile, classloader safe cache for model schemas.
     * <p>
     * Significant complexity is introduced by facilitating a volatile classloader environment.
     * That is, classes being loaded and unloaded for the life of this cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/isolation/Isolatable.java

     */
    public interface Isolatable<T> extends Hashable {
        /**
         * Returns this value as a {@link ValueSnapshot}. The returned value should not hold any references to user ClassLoaders.
         */
        ValueSnapshot asSnapshot();
    
        /**
         * Returns an instance of T that is isolated from the original object and all other instances.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. 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)
Back to top