< prev index next >

src/hotspot/share/runtime/safepointMechanism.inline.hpp

Print this page

        

*** 64,86 **** void SafepointMechanism::disarm_local_poll(JavaThread* thread) { thread->set_polling_page(poll_disarmed_value()); } - void SafepointMechanism::disarm_if_needed(JavaThread* thread, bool memory_order_release) { - JavaThreadState jts = thread->thread_state(); - if (jts == _thread_in_native || jts == _thread_in_native_trans) { - // JavaThread will disarm itself and execute cross_modify_fence() before continuing - return; - } - if (memory_order_release) { - thread->set_polling_page_release(poll_disarmed_value()); - } else { - thread->set_polling_page(poll_disarmed_value()); - } - } - void SafepointMechanism::arm_local_poll_release(JavaThread* thread) { thread->set_polling_page_release(poll_armed_value()); } void SafepointMechanism::disarm_local_poll_release(JavaThread* thread) { --- 64,73 ----
< prev index next >