commit | 0d6fff2da41e53c3ee790f352a40e84ad782d286 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Tue Oct 13 16:04:31 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Tue Oct 13 16:04:31 2009 -0700 |
tree | fbfdcd5bf977247a1e1720ef596ed3c7bfbe0840 | |
parent | 6ff3c8fde9623dadad726dbd5e1658585c321751 [diff] |
Avoid JDWP hang on nested thread suspension. With jdb, you can suspend a thread multiple times. If you try to execute a method -- which requires resuming a thread that has been stopped at a breakpoint -- the VM currently only does a single "resume", which means the thread is still suspended, and the JDWP thread hangs waiting for it. This adds a check to prevent the hang. For bug 2183735.