< prev index next >

src/share/vm/runtime/thread.inline.hpp

Print this page

        

*** 57,67 **** } } return allocated_bytes; } ! #ifdef PPC64 inline JavaThreadState JavaThread::thread_state() const { return (JavaThreadState) OrderAccess::load_acquire((volatile jint*)&_thread_state); } inline void JavaThread::set_thread_state(JavaThreadState s) { --- 57,67 ---- } } return allocated_bytes; } ! #if defined(PPC64) || defined (AARCH64) inline JavaThreadState JavaThread::thread_state() const { return (JavaThreadState) OrderAccess::load_acquire((volatile jint*)&_thread_state); } inline void JavaThread::set_thread_state(JavaThreadState s) {
*** 72,77 **** --- 72,83 ---- inline void JavaThread::set_done_attaching_via_jni() { _jni_attach_state = _attached_via_jni; OrderAccess::fence(); } + #if INCLUDE_ALL_GCS + char JavaThread::gc_state() const { + return _gc_state; + } + #endif + #endif // SHARE_VM_RUNTIME_THREAD_INLINE_HPP
< prev index next >