Fix JNI thread state transitions.

Thread state transitions need correct fencing. This change introduces
the fences and makes the behaviour match that of Thread::SetState.

Change-Id: Ia0ff68e2493ae153cf24d251e610b02b3f39d93e
9 files changed
tree: 0a8ef975ac588b444a99957e66e502df84895589
  1. build/
  2. src/
  3. test/
  4. tools/
  5. Android.mk