Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 23 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. … 23 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.
Serialize the contents of `ArtifactCollection` instances to the instant execution cache.

With this change, up-to-date `assembleDebug` builds work for the Santa Tracker sample and the simple test build.

  1. … 7 more files in changeset.
Serialize the contents of `ArtifactCollection` instances to the instant execution cache.

With this change, up-to-date `assembleDebug` builds work for the Santa Tracker sample and the simple test build.

  1. … 7 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 24 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

  1. … 24 more files in changeset.
Replace `nullOutputStream()` by `NullOutputStream.INSTANCE`

Signed-off-by: Rodrigo B. de Oliveira <rodrigo@gradle.com>

Suppress `unused` warnings from test

Let instant execution report include trace of `Serializable` beans

  1. … 1 more file in changeset.
Preserve identity of `Serializable` objects

  1. … 3 more files in changeset.
Preserve identity of `Serializable` objects

  1. … 3 more files in changeset.
Extract `SerializableWriteReplaceCodec` from `BeanCodec`

  1. … 5 more files in changeset.
Extract `SerializableWriteReplaceCodec` from `BeanCodec`

  1. … 5 more files in changeset.
Improve instant execution support for Java serialization

Properly handle deserialization of graphs containing a mix of

`java.io.Serializable` beans and plain beans by introducing

`ReadContext.immediateMode`. In immediate mode, reentrant `read` calls

are not suspended for compatibility with the non-suspending semantics

of `ObjectInputStream.readObject`.

The downside of non-suspending semantics is the risk of

`StackOverflowErrors` caused by deep graphs.

  1. … 4 more files in changeset.
Polish `BeanCodecTest`

Introduce `SerializableWriteObjectCodec`

An instant execution serialization codec for objects that support Java

serialization via a custom `writeObject(ObjectOutputStream)` method.

  1. … 3 more files in changeset.
Move serialization of `Provider` types to several `Codec` implementations, rather than hard-coded into bean serialization.

  1. … 7 more files in changeset.
Move serialization of `Provider` types to several `Codec` implementations, rather than hard-coded into bean serialization.

  1. … 7 more files in changeset.
Move serialization of `Provider` types to several `Codec` implementations, rather than hard-coded into bean serialization.

  1. … 7 more files in changeset.
Move serialization of `Provider` types to several `Codec` implementations, rather than hard-coded into bean serialization.

  1. … 7 more files in changeset.
Move serialization of `Provider` types to several `Codec` implementations, rather than hard-coded into bean serialization.

  1. … 7 more files in changeset.
Give `ActionNode` and `TransformNode` a common `execute()` method and merge their `NodeExecutor` implementations.

  1. … 12 more files in changeset.
Give `ActionNode` and `TransformNode` a common `execute()` method and merge their `NodeExecutor` implementations.

  1. … 12 more files in changeset.
Given `ActionNode` and `TransformNode` a common `execute()` method and merge their `NodeExecutor` implementations.

  1. … 10 more files in changeset.
Given `ActionNode` and `TransformNode` a common `execute()` method and merge their `NodeExecutor` implementations.

  1. … 10 more files in changeset.
Given `ActionNode` and `TransformNode` a common `execute()` method and merge their `NodeExecutor` implementations.

  1. … 10 more files in changeset.