- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for onReuse (0.11 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java
} @Override public boolean defines(Class<?> clazz) { return localClassLoader.equals(clazz.getClassLoader()); } @Override public void onReuse() { parent.onReuse(); listener.childScopeCreated(parent.getId(), id, origin); listener.classloaderCreated(id, id.localId(), localClassLoader, classPath, classpathImplementationHash); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassloadingCache.kt
) { private val cache: CrossBuildInMemoryCache<ProgramId, CompiledScript> = cacheFactory.newCache() fun get(key: ProgramId): CompiledScript? = cache.getIfPresent(key)?.also { it.onReuse() } fun put(key: ProgramId, loadedScriptClass: CompiledScript) { cache.put(key, loadedScriptClass) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/CompiledScript.kt
*/ package org.gradle.kotlin.dsl.execution import org.gradle.internal.classpath.ClassPath internal interface CompiledScript { val program: Class<*> val classPath: ClassPath fun onReuse()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 819 bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/RootClassLoaderScope.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java
locked = true; return this; } @Override public boolean isLocked() { return locked; } @Override public void onReuse() { parent.onReuse(); listener.childScopeCreated(parent.getId(), id, origin); if (!export.isEmpty()) { listener.classloaderCreated(this.id, id.exportId(), effectiveExportClassLoader, export, null);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 8.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/CrossBuildInMemoryCachingScriptClassCache.java
HashCode hash = source.getResource().getContentHash(); if (cached != null) { if (hash.equals(cached.hash)) { cached.compiledScript.onReuse(); return Cast.uncheckedCast(cached.compiledScript); } } CompiledScript<T, M> compiledScript = delegate.compile(source, scriptBaseClass, target, targetScope, operation, verifier);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 09 15:05:17 UTC 2023 - 2.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderScope.java
* been discarded to reduce memory pressure. */ void onReuse(); ClassLoaderScope getOriginalScope();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 12 20:19:43 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt
} } class DummyCompiledScript(override val program: Class<*>) : CompiledScript { override val classPath: ClassPath get() = ClassPath.EMPTY override fun onReuse() { } override fun equals(other: Any?) = when { other === this -> true other == null || other.javaClass != this.javaClass -> false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 7.9K bytes - Viewed (0)