)]}'
{
  "commit": "a182fc466d249693b01f1bb17acf79cf5667cda9",
  "tree": "b661519b7a040fb4ea24ee0b608e6d3f780ef44f",
  "parents": [
    "b5359a408d3c4ce237fec8147415812d3712deeb"
  ],
  "author": {
    "name": "shahan",
    "email": "shahan@google.com",
    "time": "Wed Oct 28 07:48:40 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Oct 28 07:50:09 2026 -0700"
  },
  "message": "Migrate ImmutableListCodec off of Unsafe.\n\nImmutableListCodec still registers the list before deserializing its elements,\nto support cycles, but no longer uses Unsafe.allocateInstance or\nUnsafe.putObject.\n\n* Lists with two or more elements are created by calling the package-private\n  RegularImmutableList constructor through a MethodHandle obtained with\n  MethodHandles.privateLookupIn. The constructor wraps the given array without\n  copying, so elements are deserialized directly into it. This is possible\n  because Guava is in an unnamed module.\n* Lists with a single element are created with ImmutableList.of(placeholder),\n  and the final SingletonImmutableList.element field is overwritten once the\n  actual element is available, through a MethodHandle from\n  Lookup.unreflectSetter. This is subject to JEP 500 restrictions on final\n  field mutation.\n\nThis also removes one of the remaining callers of the offset-based\nAsyncDeserializationContext.deserialize overload.\n\nPiperOrigin-RevId: 1008904532\nChange-Id: Idfcb147c3889e5df288907b436a372aaa81d7cf9\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cb5a2bb3f8154487f9dd9be1fc278435fdebd8bd",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/skyframe/serialization/ImmutableListCodec.java",
      "new_id": "7f7195605d0f11be911f9aece6a5f99e49204604",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/skyframe/serialization/ImmutableListCodec.java"
    },
    {
      "type": "modify",
      "old_id": "8e94fac2ff650ae5410b8823ec39a5c178d590d6",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/skyframe/serialization/ImmutableListCodecTest.java",
      "new_id": "1248bc07409f1f0014e8446a41343441dcc62ef5",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/skyframe/serialization/ImmutableListCodecTest.java"
    }
  ]
}
