commit | b19ccb1d88f0bff7371c9b72f265148677c18e95 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Jul 15 10:24:16 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Jul 15 10:46:49 2015 -0700 |
tree | 6c8bc31d98bf60c4abd13b538f0acc2556cf63b7 | |
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