Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for lock1 (0.24 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

        override fun scopeFor(classLoader: ClassLoader?): Pair<ClassLoaderScopeSpec, ClassLoaderRole>? {
            synchronized(lock) {
                return loaders[classLoader]
            }
        }
    
        override fun childScopeCreated(parentId: ClassLoaderScopeId, childId: ClassLoaderScopeId, origin: ClassLoaderScopeOrigin?) {
            synchronized(lock) {
                if (scopeSpecs.containsKey(childId)) {
                    // scope is being reused
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

            then:
            outputContains("bar")
            configurationCache.assertStateLoaded()
    
            where:
            commandLine              | _
            "--refresh-dependencies" | _
            "--write-locks"          | _
            "--update-locks thing:*" | _
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/services/internal/RegisteredBuildServiceProvider.java

        private Try<T> instantiate() {
            // TODO - extract some shared infrastructure to take care of instantiation (eg which services are visible, strict vs lenient, decorated or not?)
            // TODO - should hold the project lock to do the isolation. Should work the same way as artifact transforms (a work node does the isolation, etc)
            P isolatedParameters = isolatableFactory.isolate(getParameters()).isolate();
            // TODO - reuse this in other places
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassDecoder.kt

                parent.createLockedChild(name, origin, localClassPath, localImplementationHash, null)
            } else {
                parent.createChild(name, origin).local(localClassPath).export(exportClassPath).lock()
            }
    
            scopes.putInstance(id, newScope)
            return newScope
        }
    
        private
        fun ReadContext.readHashCode() = if (readBoolean()) {
            HashCode.fromBytes(readBinary())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            def confCacheDir = file("./app/.gradle/configuration-cache")
            confCacheDir.isDirectory()
            def confCacheFiles = confCacheDir.allDescendants().findAll { it != 'configuration-cache.lock' && it != 'gc.properties' }
            confCacheFiles.size() == 5 // header, 2 * fingerprint, root build state file, included build state file
            if (!OperatingSystem.current().isWindows()) {
                confCacheFiles.forEach {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top