diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-03-03 18:02:18 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-03-03 18:08:34 -0800 |
commit | e8649c7f1f1c21fdee1a40068c03d1e294e397ca (patch) | |
tree | f1e691e11a9277189d354049be3fab1976d9cca9 /compiler/optimizing/graph_visualizer.cc | |
parent | d9f647ac9a5cb0c6f112332d584756251c2cfb9f (diff) |
Add GC critical section to GetObjectsAllocated
Prevent GC running during GetObjectsAllocated since we may get a
checkpoint request that tells us to suspend while we are doing
SuspendAll. This can cause a deadlock.
Bug: 35232978
Test: test-art-host
Change-Id: I9c02415df0a0b9fa787d7ce449ec06a40dfaf624
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions