request for review (S): 6814943: getcpool001 catches more than one JvmtiThreadState problem (original) (raw)
Keith McGuigan keith.mcguigan at oracle.com
Mon Jan 10 09:36:47 PST 2011
- Previous message: hg: jdk7/hotspot-rt/hotspot: 7010665: Misplaced membar in C1 implementation of Unsafe.get/putXXX
- Next message: request for review (S): 6814943: getcpool001 catches more than one JvmtiThreadState problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
webrev: http://cr.openjdk.java.net/~kamg/6814943/webrev.00/
Thanks for any review!
--
- Keith
- Previous message: hg: jdk7/hotspot-rt/hotspot: 7010665: Misplaced membar in C1 implementation of Unsafe.get/putXXX
- Next message: request for review (S): 6814943: getcpool001 catches more than one JvmtiThreadState problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]