InstantExecutionHost.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Try again to correct the classloader structure for projects

  1. … 6 more files in changeset.
Move baseProjectClassLoaderScope from Settings to Gradle

  1. … 14 more files in changeset.
Merge remote-tracking branch 'origin/master' into ldaley/settings-before-buildsrc

# Conflicts:

# subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcDeprecatedInSettingsIntegrationTest.groovy

# subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultDeprecatedClassLoader.java

# subprojects/core/src/main/java/org/gradle/api/internal/initialization/DeprecatedClassLoaderScope.java

  1. … 6 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.
Rename method to not be a getter, to avoid being accidentally invoked

  1. … 3 more files in changeset.
Attach the buildSrc export scope to settings

This is the minimal change required to make Kotlin DSL IDE integration

work. When getting a script's classpath fails, we fall back to this

classpath.

  1. … 10 more files in changeset.
Build buildSrc after applying the settings file

This allows the build cache settings to implicitly apply to buildSrc,

whereas before the configuration had to be duplicated there.

  1. … 30 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Some simplifications of the instant execution types that take care of serializing the work nodes.

  1. … 7 more files in changeset.
Change instant execution serialization to write the edges between work nodes to the cache, instead of the dependencies between tasks.

This will allow nodes other than tasks to be deserialized and added back to the work graph. Also short-circuit the node dependency calculation when reading nodes back from the cache, as the calculation has already been done.

  1. … 5 more files in changeset.
Change instant execution serialization to write the edges between work nodes to the cache, instead of the dependencies between tasks.

This will allow nodes other than tasks to be deserialized and added back to the work graph. Also short-circuit the node dependency calculation when reading nodes back from the cache, as the calculation has already been done.

  1. … 5 more files in changeset.
Change instant execution serialization to write the edges between work nodes to the cache, instead of the dependencies between tasks.

This will allow nodes other than tasks to be deserialized and added back to the work graph. Also short-circuit the node dependency calculation when reading nodes back from the cache, as the calculation has already been done.

  1. … 5 more files in changeset.
Change instant execution to serialize all work nodes to the cache, rather than just the task nodes.

In this change, only a placeholder is written to the cache for node that are not task nodes, and this are discarded on read.

  1. … 10 more files in changeset.
Change instant execution to serialize all work nodes to the cache, rather than just the task nodes.

In this change, only a placeholder is written to the cache for node that are not task nodes, and this are discarded on read.

  1. … 10 more files in changeset.
Change instant execution to serialize all work nodes to the cache, rather than just the task nodes.

In this change, only a placeholder is written to the cache for node that are not task nodes, and this are discarded on read.

  1. … 9 more files 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.
Polish `InstantExecutionHost`

Polish `InstantExecutionHost`

Polish `InstantExecutionHost`

Polish `InstantExecutionHost`

- Use cached value

Polish `InstantExecutionHost`

- Use cached value