commit | 070f732bc270f6b9a579838d3418eb13b9cdf8ff | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Tue Sep 09 12:08:49 2014 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Thu Sep 11 11:59:12 2014 +0200 |
tree | 2f9fc4e13662e5eab9352684dc8fbb7a5909aca4 | |
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