)]}'
{
  "commit": "b95fee39e62ff5a24493c256c6bed87a2f85aa4a",
  "tree": "1c57faf86a0e017c1e63d129719f5945a78af746",
  "parents": [
    "35f9047ca7b618556c1b01a1034019433a026869"
  ],
  "author": {
    "name": "Hans Boehm",
    "email": "hboehm@google.com",
    "time": "Tue Jun 27 16:30:53 2023 -0700"
  },
  "committer": {
    "name": "Hans Boehm",
    "email": "hboehm@google.com",
    "time": "Wed Jul 12 15:56:58 2023 +0000"
  },
  "message": "Improve OOME handling and detection\n\nDo not trigger an OOME just because we did not see much free memory\nafter running a GC; someone else may have used it up in the interim.\n\nAttempt to handle OOME after the GC has shut down in a somewhat\nbetter way. This is still not a great solution, but since real\nAndroid apps don\u0027t shut down \"normally\", this is a significant\nimprovement for a test-only problem.\n\nSimplify the homogeneous space compaction code. We now also\ninsist that after homogeneous space compaction, a certain\nfraction of the heap be empty. (Modern GC configurations don\u0027t\nuse this code anyway.)\n\nAdd runFinalization() call to 2042-reference-processing. Without\nthat, and with changes to the OOME code that should have been\nirrelevant, I saw it running out of memory, presumably because\nreference processing was falling behind. Once the main thread is\nclose to running out of memory, it may not get around to\nprocessing references anymore, making things worse.\n\nBug: 288982675\nBug: 288446884\nTest: TreeHugger\nChange-Id: I05fbdc13194f64b7ce959db0286d134a980f9fa9\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "478c14c81b1b2f26f028ba9ebb300f544ce6201d",
      "old_mode": 33188,
      "old_path": "runtime/gc/heap.cc",
      "new_id": "3c0b57371354cd49a395cb5b0d6867dca1ffb59c",
      "new_mode": 33188,
      "new_path": "runtime/gc/heap.cc"
    },
    {
      "type": "modify",
      "old_id": "c7f547fe1533cf365888b27c5b79c0c6b06563a2",
      "old_mode": 33188,
      "old_path": "test/2042-reference-processing/src/Main.java",
      "new_id": "1e289f5266d903442da55cb90e57087594e12a07",
      "new_mode": 33188,
      "new_path": "test/2042-reference-processing/src/Main.java"
    }
  ]
}
