diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-07-15 10:24:16 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-07-15 10:46:49 -0700 |
commit | b19ccb1d88f0bff7371c9b72f265148677c18e95 (patch) | |
tree | 6c8bc31d98bf60c4abd13b538f0acc2556cf63b7 /compiler/optimizing/graph_visualizer.cc | |
parent | 5c03f3698f5e2e0d762e2e15ec00310b6cdab4fe (diff) |
Use SuspendAllInternal for FlipThreadRoots
Fix FlipThreadRoots to wait until all the threads are suspended by
using SuspendAllInternal. Since running threads no longer hold the
mutator lock as shared held, doing an exclusive lock will not block
if the threads are not suspended. Also implemented MarkHeapReference
which is used to preserve soft references.
Fixes CC tests.
Change-Id: I4b059238f4249cf297e21ae918becd029fe26527
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions