< prev index next >

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

Print this page
@@ -120,10 +120,17 @@
  }
  inline void JavaThread::clear_obj_deopt_flag() {
    clear_suspend_flag(_obj_deopt);
  }
  
+ inline void JavaThread::set_thread_suspended() {
+   set_suspend_flag(_thread_suspended);
+ }
+ inline void JavaThread::clear_thread_suspended() {
+   clear_suspend_flag(_thread_suspended);
+ }
+ 
  inline bool JavaThread::clear_async_exception_condition() {
    bool ret = has_async_exception_condition();
    clear_suspend_flag(_has_async_exception);
    return ret;
  }
< prev index next >