request for review (S): 6814943: getcpool001 catches more than one JvmtiThreadState problem
keith.mcguigan at oracle.com
Mon Jan 10 09:36:47 PST 2011
This closes a race condition hole between
JvmtiThreadState::state_for_while_locked() and ~JavaThread(). Without
this, the state_for_while_locked() could see a value of false for
thread->is_exiting(), then the entirety of ~JavaThread() could run,
the state_for_while_locked() could then finish leaving the
JvmtiThreadState referring to a zombie thread.
Thanks for any review!
More information about the hotspot-runtime-dev