diff options
author | Sebastien Hertz <shertz@google.com> | 2014-09-09 12:08:49 +0200 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2014-09-11 11:59:12 +0200 |
commit | 070f732bc270f6b9a579838d3418eb13b9cdf8ff (patch) | |
tree | 2f9fc4e13662e5eab9352684dc8fbb7a5909aca4 /compiler/optimizing/codegen_test.cc | |
parent | bb2e4d7d2d863e2d10876a469642784c9aeafda6 (diff) |
Fix deadlock in VirtualMachine.AllThreads
We cannot add any object in the JDWP object registry while holding the
Locks::thread_list_lock. Indeed we may need to suspend a thread and take it,
causing a deadlock by waiting for ourself on this lock.
Bug: 17343664
(cherry picked from commit d35776413901a6a9d478e06dc354ea4f7d962e04)
Change-Id: I07d150b95a6d2b62c913bf2ca2ac217911b2f19d
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions