commit | e301463c343061d8faf6daea8f895010e5ee48b5 | [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 | 445da72b2fb3215eb03a55c6aa62f65ecfd3a414 | |
parent | bb57e2ba3d9f47cfe8807d230a471543eda43e49 [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.