)]}' { "commit": "e0fae4bb3bc7596e33a2673d30e0da73065db31c", "tree": "815f7775f9561a9c8dcfc68e2cc6d1eefa474634", "parents": [ "860dd602aebc376eb67d0b3deb9cf6499309484f" ], "author": { "name": "Mathieu Chartier", "email": "mathieuc@google.com", "time": "Fri Dec 12 16:07:39 2014 -0800" }, "committer": { "name": "The Android Automerger", "email": "android-build@google.com", "time": "Mon Dec 15 15:36:56 2014 -0800" }, "message": "Only allow one requestGC at a time\n\nFixes possible deadlock caused by Thread.getAllStackTraces\n\nThread.getAllStackTraces suspends all of the threads. If one of\nthe threads is a thread which holds the GC daemon lock then we\nmay deadlock when we allocate the stack trace. This happens if we\nget a concurrent GC request when we are allocating the stack trace\nelements. To fix the deadlock we now only allow a single thread to\nrequestGC at the same time.\n\nCredits: yamauchi, hboehm\n\nBug: 18661622\n\n(cherry picked from commit c0b55b80df57b9f8c659a5af4525ceba271622b6)\n\nChange-Id: Iba46cb9c6cd2503d7af3348b4478c8c53973b9ee\n", "tree_diff": [ { "type": "modify", "old_id": "6b3344ce33aacbdba48466dbec12a4c5fb18d3d7", "old_mode": 33188, "old_path": "libart/src/main/java/java/lang/Daemons.java", "new_id": "485f2c924c256b8b33cbf17baee0221df323d4e5", "new_mode": 33188, "new_path": "libart/src/main/java/java/lang/Daemons.java" } ] }