< prev index next >
src/hotspot/share/runtime/threadSMR.inline.hpp
Print this page
*** 76,86 ****
}
}
}
inline ThreadsList* ThreadsSMRSupport::get_java_thread_list() {
! return (ThreadsList*)OrderAccess::load_acquire(&_java_thread_list);
}
inline bool ThreadsSMRSupport::is_a_protected_JavaThread_with_lock(JavaThread *thread) {
MutexLocker ml(Threads_lock->owned_by_self() ? NULL : Threads_lock);
return is_a_protected_JavaThread(thread);
--- 76,86 ----
}
}
}
inline ThreadsList* ThreadsSMRSupport::get_java_thread_list() {
! return (ThreadsList*)Atomic::load_acquire(&_java_thread_list);
}
inline bool ThreadsSMRSupport::is_a_protected_JavaThread_with_lock(JavaThread *thread) {
MutexLocker ml(Threads_lock->owned_by_self() ? NULL : Threads_lock);
return is_a_protected_JavaThread(thread);
< prev index next >