summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-06-09 16:50:19 +0100
committerNarayan Kamath <narayan@google.com>2014-06-10 11:25:06 +0100
commitd1c606f280797be81e2592c483869a6ec836a9f3 (patch)
treef49689281100d0fccdc5493f1a2567b435a247ea /compiler/optimizing/graph_visualizer.cc
parentfbc2b1747e7e3d06f214f801f53218a1d4bf2dbe (diff)
Add locking around boot image generation.
If zygote aborts due to an error, it will restart and spawn another dex2oat process while the old one is still running. If this happens fast enough, the system will eventually need a kernel reboot since neither the zygote nor dex2oat are killable. This brings boot image generation in line with dex2oat generation, which uses a similar pattern of advisory locking. bug: 15415316 Change-Id: Iaccd274d3d96ab002b04e246ec4b3ef9a422ff7c
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions