equal
deleted
inserted
replaced
279 SafepointMechanism::arm_local_poll_release(target); |
279 SafepointMechanism::arm_local_poll_release(target); |
280 } |
280 } |
281 |
281 |
282 void HandshakeState::clear_handshake(JavaThread* target) { |
282 void HandshakeState::clear_handshake(JavaThread* target) { |
283 _operation = NULL; |
283 _operation = NULL; |
284 SafepointMechanism::disarm_local_poll_release(target); |
284 SafepointMechanism::disarm_if_needed(target, true /* release */); |
285 } |
285 } |
286 |
286 |
287 void HandshakeState::process_self_inner(JavaThread* thread) { |
287 void HandshakeState::process_self_inner(JavaThread* thread) { |
288 assert(Thread::current() == thread, "should call from thread"); |
288 assert(Thread::current() == thread, "should call from thread"); |
289 assert(!thread->is_terminated(), "should not be a terminated thread"); |
289 assert(!thread->is_terminated(), "should not be a terminated thread"); |