)]}'
{
  "commit": "9ca7c3666c2b54a75ea40f924b29fd0d4671c328",
  "tree": "bf871cbfbde27e29c34fb026edbe22ee143bdfe3",
  "parents": [
    "97cc68052adfb385e632efb35142e2ebb7f07a15"
  ],
  "author": {
    "name": "leba",
    "email": "leba@google.com",
    "time": "Fri Jun 19 07:02:53 2020 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Jun 19 07:04:09 2020 -0700"
  },
  "message": "Only add a file path into the action cache if it\u0027s non-mandatory.\n\nFor actions that discover inputs, we store every input\u0027s execPath in the action cache, so that the corresponding artifact can be retrieved later when we load the cache entry. However, there\u0027s no need to do this for mandatory inputs (and outputs) since we already have their execPaths from the action itself.\n\nThe benchmark results showed a tiny improvement in retained heap size (~0.20%).\n\nPiperOrigin-RevId: 317301234\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "256414b4cc68de822737a9c5928c50c0742f36a1",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/actions/ActionCacheAwareAction.java"
    },
    {
      "type": "modify",
      "old_id": "d8d32f858748e09ee23a15d3532ddf81588217bb",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java",
      "new_id": "8aad9ce4cebb58df132735756c9de481c96f22c3",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/actions/ActionCacheChecker.java"
    },
    {
      "type": "modify",
      "old_id": "dd78db7367d004d41f14744005b0d2f16b19b972",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/actions/cache/ActionCache.java",
      "new_id": "2de2969025382840001a54bdd65cd4de743f14e7",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/actions/cache/ActionCache.java"
    },
    {
      "type": "modify",
      "old_id": "2fef68cba9d57aa92d4438ca4a166c219f123e69",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/analysis/actions/StarlarkAction.java",
      "new_id": "474822dd8402d0327936c6ad71bb5e743bebfe93",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/analysis/actions/StarlarkAction.java"
    },
    {
      "type": "modify",
      "old_id": "06a8fd221ec475ddfe3a1460251f6bb6cef9ba78",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/bazel/rules/ninja/actions/NinjaAction.java",
      "new_id": "cc517c014d5ce583e2f757b1e0c253ad4606071c",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/bazel/rules/ninja/actions/NinjaAction.java"
    }
  ]
}
