Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce `BeanStateReader.newBeanWithId(id: Int)`

And dedupe identity registration code.

Move identity preserving combinators to `Codec.kt`

Preserve identity of `Serializable` objects

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

  1. … 1 more file in changeset.
Polish `SerializableWriteObjectCodec`

- Make cheaper `parameterCount` comparison first

Polish `SerializableWriteObjectCodec`

- Make cheaper `parameterCount` comparison first

Extract `SerializableWriteReplaceCodec` from `BeanCodec`

    • -0
    • +48
    ./gradle/instantexecution/serialization/codecs/MethodCache.kt
  1. … 1 more file in changeset.
Extract `SerializableWriteReplaceCodec` from `BeanCodec`

  1. … 1 more file in changeset.
Polish `BindingsBackedCodec`

- Rename overriden method parameter to match base definition

Polish `BindingsBackedCodec`

- Rename overriden method parameter to match base definition

Polish `BeanCodec`

- Extract `withBeanTrace` so it can be reused in the `Serializable` codecs

- Use slightly cheaper predicate (`parameterCount == 0`)

Polish `BeanCodec`

- Extract `withBeanTrace` so it can be reused in the `Serializable` codecs

- Use slightly cheaper predicate (`parameterCount == 0`)

Turn `EncodingProducer` type alias into an interface

Turn `EncodingProducer` type alias into an interface

Support serialization of collection and map properties with an element or value that is calculated from a task output.

Also support serialization of set properties.

  1. … 10 more files in changeset.
Support serialization of collection and map properties with an element or value that is calculated from a task output.

Also support serialization of set properties.

  1. … 10 more files in changeset.
Support serialization of collection and map properties with an element or value that is calculated from a task output.

Also support serialization of set properties.

  1. … 10 more files in changeset.
Support serialization of collection and map properties with an element or value that is calculated from a task output.

Also support serialization of set properties.

  1. … 10 more files in changeset.
Remove no longer necessary instant execution codecs for `EnumSet` and `EnumMap`

They can be handled via Java serialization now.

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. … 2 more files in changeset.
Polish `BeanPropertyReader.kt`

Polish `Codec.kt`

- Remove unused member

- Specify return types explicitly to avoid platform types

- Reduce accessibility

Introduce `SerializableWriteObjectCodec`

An instant execution serialization codec for objects that support Java

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

  1. … 1 more file in changeset.
Polish `ClosureCodec`

Prepare `BindingsBackedCodec` to accept multiple encodings for the same binding

Paving the way for `BeanCodec` to be extended to handle

`java.io.Serializable` based types efficiently.

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.
Serialize `Provider` instances that provide a mapped task output so that the mapping is applied at execution time, rather than calculating the value eagerly.

  1. … 8 more files in changeset.
Serialize `Provider` instances that provide a mapped task output so that the mapping is applied at execution time, rather than calculating the value eagerly.

  1. … 8 more files in changeset.
Serialize `Provider` instances that provide a mapped task output so that the mapping is applied at execution time, rather than calculating the value eagerly.

  1. … 8 more files in changeset.
Serialize `Provider` instances that provide a mapped task output so that the mapping is applied at execution time, rather than calculating the value eagerly.

  1. … 8 more files in changeset.