< prev index next >

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

Print this page

        

@@ -106,10 +106,17 @@
 }
 inline void JavaThread::clear_external_suspend() {
   clear_suspend_flag(_external_suspend);
 }
 
+inline void JavaThread::set_deopt_suspend() {
+  set_suspend_flag(_deopt_suspend);
+}
+inline void JavaThread::clear_deopt_suspend() {
+  clear_suspend_flag(_deopt_suspend);
+}
+
 inline void JavaThread::set_pending_async_exception(oop e) {
   _pending_async_exception = e;
   _special_runtime_exit_condition = _async_exception;
   set_has_async_exception();
 }

@@ -132,15 +139,10 @@
 #else
   _thread_state = s;
 #endif
 }
 
-inline void JavaThread::set_thread_state_fence(JavaThreadState s) {
-  set_thread_state(s);
-  OrderAccess::fence();
-}
-
 ThreadSafepointState* JavaThread::safepoint_state() const  {
   return _safepoint_state;
 }
 
 void JavaThread::set_safepoint_state(ThreadSafepointState *state) {
< prev index next >