commit | e99f53203904c23a26e53ca1bf6a4e45814146fe | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Fri Jun 10 17:04:20 2016 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Fri Jun 10 17:52:36 2016 -0700 |
tree | 88142212532717ef4e2435420493eeab02d1eb11 | |
parent | 4811e726711e42781e7b9d56763588cef796e2f0 [diff] |
Use ScopedObjectAccess in ThreadList::Dump Prevent deadlocks if two different threads are calling Dump at the same time: Thread 1: Requests thread 2 to suspend Thread 2: Requests thread 1 to suspend Both threads are suspended and blocked on ScopedObjectAccess in thread dumping. Added to suspend all stress, reduced thread count to 4 temporarily since this is the maximum number of simultaneous checkpoints. Bug: 28988206 Change-Id: I9e4b8391ebad0bca0e42a03819c58c99ddba6b35