diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-06-13 14:04:02 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-06-13 18:10:02 -0700 |
commit | 952e1e3710158982941fc70326e9fddc3021235d (patch) | |
tree | 79ba4922cbe7a28d32078516d1667f90354bee6b /compiler/optimizing/graph_visualizer.cc | |
parent | ece5386eeb30aa6be663af2416b68a7ebf9bd42e (diff) |
Support unlimited pending checkpoints
Prevents the spinning that used to happen if RunCheckpoint was called
with 3 pending checkpoints. This spinning was done when holding
thread_list_lock_ and thread_suspend_count_lock_ and could deadlock
if any of the pending checkpoints required any of these locks.
The fix is to use an overflow list instead of having a fixed limit of
3.
Changed suspend stress test to have more threads and only compare last
line since there may be libbacktrace spam like:
"+E/libbacktrace(69891): void SignalHandler(int, siginfo_t *, void *):
Timed out waiting for unwind thread to indicate it completed."
Bug: 28988206
Change-Id: I2ae611506147d5199d59a08eee0395f7fa35d448
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions