Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename method to not be a getter, to avoid being accidentally invoked

    • -2
    • +2
    ./instantexecution/InstantExecutionHost.kt
  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.

    • -6
    • +6
    ./instantexecution/InstantExecutionHost.kt
  1. … 10 more files in changeset.
Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  1. … 1 more file in changeset.
Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  1. … 1 more file in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +1
    ./instantexecution/DefaultInstantExecution.kt
    • -1
    • +3
    ./instantexecution/serialization/codecs/Codecs.kt
  1. … 22 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +1
    ./instantexecution/DefaultInstantExecution.kt
    • -1
    • +3
    ./instantexecution/serialization/codecs/Codecs.kt
  1. … 22 more files in changeset.
Polish `DefaultInstantExecution`

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

- Avoid intermediate collection allocation

- Compose method for clarity

    • -10
    • +13
    ./instantexecution/DefaultInstantExecution.kt
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`

    • -0
    • +27
    ./instantexecution/serialization/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
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
    • -0
    • +48
    ./instantexecution/serialization/codecs/MethodCache.kt
    • -0
    • +70
    ./instantexecution/serialization/codecs/SerializableWriteReplaceCodec.kt
  1. … 1 more file in changeset.
Extract `SerializableWriteReplaceCodec` from `BeanCodec`

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  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`)

    • -0
    • +7
    ./instantexecution/serialization/Codec.kt
Polish `BeanCodec`

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

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

    • -0
    • +7
    ./instantexecution/serialization/Codec.kt
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.

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  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.

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  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.

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  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.

    • -0
    • +1
    ./instantexecution/serialization/codecs/Codecs.kt
  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.

    • -2
    • +0
    ./instantexecution/serialization/codecs/Codecs.kt
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.

    • -0
    • +18
    ./instantexecution/serialization/Codec.kt
  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

    • -12
    • +3
    ./instantexecution/serialization/Codec.kt