Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

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

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

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

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

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

  1. … 22 more files in changeset.
Polish `DefaultInstantExecution`

- Prefer expression chain over `if`/`else`

- Avoid intermediate collection allocation

- Compose method for clarity

Let instant execution report include trace of `Serializable` beans

  1. … 1 more file in changeset.
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