src/hotspot/share/runtime/safepoint.hpp
changeset 53646 043ae846819f
parent 53244 9807daeb47c4
child 53775 5d20b085d893
equal deleted inserted replaced
53645:2c6c0fabe6a2 53646:043ae846819f
   141   inline static bool do_call_back() {
   141   inline static bool do_call_back() {
   142     return (_state != _not_synchronized);
   142     return (_state != _not_synchronized);
   143   }
   143   }
   144 
   144 
   145   // Called when a thread voluntarily blocks
   145   // Called when a thread voluntarily blocks
   146   static void   block(JavaThread *thread);
   146   static void   block(JavaThread *thread, bool block_in_safepoint_check = true);
   147 
   147 
   148   friend class SafepointMechanism;
   148   friend class SafepointMechanism;
   149 
   149 
   150 public:
   150 public:
   151   static void   signal_thread_at_safepoint()              { _waiting_to_block--; }
   151   static void   signal_thread_at_safepoint()              { _waiting_to_block--; }