commit | e5fe0f7c3e859a90bf1ed5bd24ce8fbb3027b81c | [log] [tgz] |
---|---|---|
author | jeffhao <jeffhao@google.com> | Fri Jan 04 17:05:30 2013 -0800 |
committer | jeffhao <jeffhao@google.com> | Fri Jan 04 17:36:24 2013 -0800 |
tree | 4f675dae88f8e50d72edcc02aadedbbf4d826510 | |
parent | 6641ea12b98dda9ec45d29f20e43f85698b88a02 [diff] |
Fix debugger to properly return TS_SLEEPING. Thread.sleep is implemented with Object.wait, so the code can't distinguish the two. I added a check to see if Thread.sleep is somewhere on the stack, indicating that the thread is actually sleeping instead of waiting. Change-Id: I288befc1b3dc76e30c0620ab9c850c66b81c7a6d