Remove a lock from ScopedThreadStateChange.

Remove a lock used while inspecting the current thread state in
ScopedThreadStateChange. It is safe to do so as the code just checks the
state and the suspend count checks occur in the transition logic (with
the appropriate locks held).

Gives small but noticeable performance improvement to the JniField

Change-Id: Iadda8ae0b30355dc3d7e4daeed760c41b3fecfc2
2 files changed
tree: b19271deb46c5313c72df18713d6b6be6798077b
  1. .gitignore
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/