initialization

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Revert "Change `DefaultClassLoaderCache` to use the same strategy for caching as the other cross build caches, retaining soft references to `ClassLoader` instances used in previous builds."

This reverts commit 86ab109726c291e96c84a82b99daa006d4a97740.

    • -34
    • +56
    ./loadercache/DefaultClassLoaderCacheTest.groovy
    • -0
    • +4
    ./loadercache/DummyClassLoaderCache.java
  1. … 3 more files in changeset.
Revert "Change `DefaultClassLoaderCache` to use the same strategy for caching as the other cross build caches, retaining soft references to `ClassLoader` instances used in previous builds."

This reverts commit 86ab109726c291e96c84a82b99daa006d4a97740.

    • -34
    • +56
    ./loadercache/DefaultClassLoaderCacheTest.groovy
    • -0
    • +4
    ./loadercache/DummyClassLoaderCache.java
  1. … 3 more files in changeset.
WIP - fix

    • -0
    • +3
    ./loadercache/DefaultClassLoaderCacheTest.groovy
Build buildSrc after applying the settings file (#10305)

Fixes #9094 and #5333

    • -69
    • +0
    ./DefaultDeprecatedClassLoaderTest.groovy
  1. … 54 more files in changeset.
Remove test for deleted class

    • -69
    • +0
    ./DefaultDeprecatedClassLoaderTest.groovy
Change `DefaultClassLoaderCache` to use the same strategy for caching as the other cross build caches, retaining soft references to `ClassLoader` instances used in previous builds.

Remove the `ClassLoaderCache.remove()` method, as this is not required. The implementation can take care of this.

    • -56
    • +34
    ./loadercache/DefaultClassLoaderCacheTest.groovy
    • -4
    • +0
    ./loadercache/DummyClassLoaderCache.java
  1. … 3 more files in changeset.
Change `DefaultClassLoaderCache` to use the same strategy for caching as the other cross build caches, retaining soft references to `ClassLoader` instances used in previous builds.

Remove the `ClassLoaderCache.remove()` method, as this is not required. The implementation can take care of this.

    • -56
    • +34
    ./loadercache/DefaultClassLoaderCacheTest.groovy
    • -4
    • +0
    ./loadercache/DummyClassLoaderCache.java
  1. … 3 more files in changeset.
Change `DefaultClassLoaderCache` to use the same strategy for caching as the other cross build caches, retaining soft references to `ClassLoader` instances used in previous builds.

Remove the `ClassLoaderCache.remove()` method, as this is not required. The implementation can take care of this.

    • -56
    • +34
    ./loadercache/DefaultClassLoaderCacheTest.groovy
    • -4
    • +0
    ./loadercache/DummyClassLoaderCache.java
  1. … 3 more files in changeset.
Fix previous commit.

  1. … 7 more files in changeset.
Record the ClassLoader associated with each class that is serialized to the instant execution cache, and use this to make class lookup on deserialize faster and to deal correctly with multiple classes with the same name.

Move some ClassLoader lifecycling from Groovy DSL script compilation to `ClassLoaderScope`, so that the scope takes care of creating and caching the script ClassLoader.

  1. … 30 more files in changeset.
Record the ClassLoader associated with each class that is serialized to the instant execution cache, and use this to make class lookup on deserialize faster and to deal correctly with multiple classes with the same name.

Move some ClassLoader lifecycling from Groovy DSL script compilation to `ClassLoaderScope`, so that the scope takes care of creating and caching the script ClassLoader.

  1. … 30 more files in changeset.
Revert "Override getResources in DefaultDeprecatedClassLoader"

This reverts commit 07e3e0dec7dfba650becafd5ff549a223547401b.

    • -69
    • +0
    ./DefaultDeprecatedClassLoaderTest.groovy
  1. … 1 more file in changeset.
Override getResources in DefaultDeprecatedClassLoader

This fixes https://github.com/gradle/gradle/issues/10347

In https://github.com/gradle/gradle/pull/9898 we introduced a DefaultDeprecatedClassLoader,

which overrides getResource() but not getResources(). This causes some issues.

This PR fixes the issue by correctly overriding getResources() method.

    • -0
    • +69
    ./DefaultDeprecatedClassLoaderTest.groovy
  1. … 1 more file in changeset.
Polish `ClassLoaderScopeIdentifier`

- Replace complex expression by `Object.equals`

- Add more coverage for `ClassLoaderScopeIdentifier`

    • -4
    • +28
    ./ClassLoaderScopeIdentifierTest.groovy
  1. … 1 more file in changeset.
Polish `ClassLoaderScopeIdentifier`

- Replace complex expression by `Object.equals`

- Add more coverage for `ClassLoaderScopeIdentifier`

    • -0
    • +15
    ./ClassLoaderScopeIdentifierTest.groovy
  1. … 1 more file in changeset.
Polish `ClassLoaderScopeIdentifier`

- Replace complex expression by `Object.equals`

- Add more coverage for `ClassLoaderScopeIdentifier`

    • -4
    • +28
    ./ClassLoaderScopeIdentifierTest.groovy
  1. … 1 more file in changeset.
Polish `ClassLoaderScopeIdentifier`

- Replace complex expression by `Object.equals`

- Add more coverage for `ClassLoaderScopeIdentifier`

    • -4
    • +28
    ./ClassLoaderScopeIdentifierTest.groovy
  1. … 1 more file in changeset.
Polish `ClassLoaderScopeIdentifier`

- Replace complex expression by `Object.equals`

- Add more coverage for `ClassLoaderScopeIdentifier`

    • -4
    • +28
    ./ClassLoaderScopeIdentifierTest.groovy
  1. … 1 more file in changeset.
Polish `ClassLoaderScopeIdentifier`

- Replace complex expression by `Object.equals`

- Add more coverage for `ClassLoaderScopeIdentifier`

    • -1
    • +16
    ./ClassLoaderScopeIdentifierTest.groovy
  1. … 1 more file in changeset.
Revert "Reinstate "Let instant execution reuse classloaders when loading""

  1. … 36 more files in changeset.
Revert "Revert "Let instant execution reuse classloaders when loading""

  1. … 36 more files in changeset.
Revert "Let instant execution reuse classloaders when loading"

  1. … 36 more files in changeset.
Move from a recording decorator to a listener

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 14 more files in changeset.
Move from a recording decorator to a listener

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 14 more files in changeset.
Move from a recording decorator to a listener

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 14 more files in changeset.
Move from a recording decorator to a listener

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 14 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 25 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.
Replace most usages of `NamedObjectInstantiator.INSTANCE` with injection of a global service instead. This allows the instantiator to be contextualized, for example to handle caching of the generated types.

  1. … 27 more files in changeset.