Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move serialization specific types to `serialization` subpackage

And move codecs to `serialization.codecs` subpackage.

  1. … 30 more files in changeset.
Unify different `:instantExecution` serialization contexts

And prepare for caching and auto-tagging of serializers.

  1. … 9 more files in changeset.
Propagate `(Read|Write)Context` all the way down to serializers

  1. … 4 more files in changeset.
Handle cycles in the "bean" object graphs written to the instant execution cache.

Also preserve object identity for the "beans" for a given task. That is, if 2 fields for a task reference the same instance of a "bean" when written to the cache, then they will also reference the same instance when read from the cache. Identity is intentionally not preserved across task instances, to keep the tasks isolated.

  1. … 9 more files in changeset.
Handle cycles in the "bean" object graphs written to the instant execution cache.

Also preserve object identity for the "beans" for a given task. That is, if 2 fields for a task reference the same instance of a "bean" when written to the cache, then they will also reference the same instance when read from the cache. Identity is intentionally not preserved across task instances, to keep the tasks isolated.

  1. … 9 more files in changeset.
Serialize the fields of beans with zero arg constructors to the instant execution cache.

  1. … 5 more files in changeset.
Serialize the fields of beans with zero arg constructors to the instant execution cache.

  1. … 5 more files in changeset.
Split out the strategy for serializing the fields of a `Task` object, so that it can be reused to serialize the fields of a bean.

  1. … 4 more files in changeset.
Split out the strategy for serializing the fields of a `Task` object, so that it can be reused to serialize the fields of a bean.

  1. … 4 more files in changeset.
Day 6 - Simplify bean deserialization

  1. … 4 more files in changeset.
Day 6 - Polish `StateSerializer`

  1. … 1 more file in changeset.
Day 6 - Unify StateSerializer & CoreSerializer

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 5 more files in changeset.
Day 5 - Serialize CopySpec

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 4 more files in changeset.
Day 4 - ArtifactCollection & Bean - Empty

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 2 more files in changeset.
Polish `StateSerializer`

Dedupe `writeByte(...); serializer.write(...)` sequences

Day 4 - Move state serialization to working on fields

& support for Property, DirectoryProperty, RegularFileProperty and lists

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +136
    ./StateSerializer.kt
  1. … 3 more files in changeset.