summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-06-10 17:04:20 -0700
committerMathieu Chartier <mathieuc@google.com>2016-06-16 18:01:22 -0700
commitd0b1dac94230c5e91639011e28160f34cc39c53e (patch)
tree420ca59d66304be9f1c3db41fdf3ca8e1b7e115c /test/ProfileTestMultiDex/Second.java
parent6017782485d30c4e440e53107dde03dc20d56a9a (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 Bug: 26118154 (cherry picked from commit e99f53203904c23a26e53ca1bf6a4e45814146fe) Change-Id: I9e4b8391ebad0bca0e42a03819c58c99ddba6b35
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions