)]}'
{
  "commit": "e51965e16d2cf4cb0873d23a4f9cf8ba5e8063b2",
  "tree": "a252f3e626fe0478ece19cb877bdfcd6d7707be3",
  "parents": [
    "dcff3cc11125daf9bc9a8dc24f8279cb5308f89f"
  ],
  "author": {
    "name": "Googler",
    "email": "noreply@google.com",
    "time": "Thu Nov 19 11:32:46 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Nov 19 11:33:56 2026 -0800"
  },
  "message": "Remove iterator counting from Starlark Mutability.\n\nAll iterable `Mutability.Freezable` implementations (`StarlarkList`, `Dict`, and `StarlarkSet`) track active iterators with their own `int` fields, and the only other `Freezable` implementation (`Args.MutableArgs`) is not iterable. As a result, `Mutability.iteratorCount` (`IdentityHashMap`) is allocated on every `Mutability.create()` and never used.\n\nRemove `Mutability.iteratorCount`, track the frozen state with a boolean, and require `Freezable` implementations to define `updateIteratorCount(int delta)` directly.\n\nPiperOrigin-RevId: 1025761772\nChange-Id: I7e06c2e4d5668b1e4e00e9813f4fd2b6f7ab4dbe\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9da5874633a139486192d8beab2031d1d5a93a02",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/starlark/Args.java",
      "new_id": "4175fd7ba513f0e654f9b8a8e6ba574a10c19f07",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/starlark/Args.java"
    },
    {
      "type": "modify",
      "old_id": "745bc6d1664d483f9b4af96d608925fec42dcbc8",
      "old_mode": 33188,
      "old_path": "src/main/java/net/starlark/java/eval/Mutability.java",
      "new_id": "f02a90c48f9071240c48909537730698ab8ffed4",
      "new_mode": 33188,
      "new_path": "src/main/java/net/starlark/java/eval/Mutability.java"
    },
    {
      "type": "modify",
      "old_id": "17a6a3bc499e09113197aef7c57d1c39a0f93b85",
      "old_mode": 33188,
      "old_path": "src/test/java/net/starlark/java/eval/MutabilityTest.java",
      "new_id": "ff8cf86a32cb30dba8e174891f4eab65b9ddc3d3",
      "new_mode": 33188,
      "new_path": "src/test/java/net/starlark/java/eval/MutabilityTest.java"
    }
  ]
}
