commit | 597adad749499bc2da85851273e7623f6b249d1e | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Mon Oct 16 16:11:42 2017 -0700 |
committer | Alex Light <allight@google.com> | Tue Oct 17 10:29:22 2017 -0700 |
tree | bfffea7ce878acb28bc53ac7e8e72325103e97cd | |
parent | 445e0ec3724b7f4f36bbd218f67a2c9bfbea7669 [diff] |
Fix GetThreadState with threads in kNative. We were always returning JVMTI_THREAD_STATE_WAITING for threads in the kNative state. To prevent any similar problems from happening in the future we changed it so all thread-states are explicitly enumerated and handled in a switch statement. Test: ./test.py --host -j50 Bug: 67784165 Change-Id: I6646b36aa36cb4671bf95777aefc5c88b659e90f