commit | d35776413901a6a9d478e06dc354ea4f7d962e04 | [log] [tgz] |
---|---|---|
author | Sebastien Hertz <shertz@google.com> | Tue Sep 09 12:08:49 2014 +0200 |
committer | Sebastien Hertz <shertz@google.com> | Tue Sep 09 12:08:49 2014 +0200 |
tree | 34a77f624fcc5d80de999d70480387d4132945e1 | |
parent | 6b8f868862de9c8a191462ab2a2c979aea4857d3 [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 Change-Id: I2335c63e418c0d485daf2c35f8debcd52f943140