src/hotspot/share/classfile/javaClasses.hpp
changeset 54629 9ebb614d293d
parent 54511 fbfcebad8e66
child 54669 ad45b3802d4e
equal deleted inserted replaced
54628:dcb78d2f07e5 54629:9ebb614d293d
   369   static int _stillborn_offset;
   369   static int _stillborn_offset;
   370   static int _stackSize_offset;
   370   static int _stackSize_offset;
   371   static int _tid_offset;
   371   static int _tid_offset;
   372   static int _thread_status_offset;
   372   static int _thread_status_offset;
   373   static int _park_blocker_offset;
   373   static int _park_blocker_offset;
   374   static int _park_event_offset ;
       
   375 
   374 
   376   static void compute_offsets();
   375   static void compute_offsets();
   377 
   376 
   378  public:
   377  public:
   379   static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
   378   static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
   410   // Thread ID
   409   // Thread ID
   411   static jlong thread_id(oop java_thread);
   410   static jlong thread_id(oop java_thread);
   412 
   411 
   413   // Blocker object responsible for thread parking
   412   // Blocker object responsible for thread parking
   414   static oop park_blocker(oop java_thread);
   413   static oop park_blocker(oop java_thread);
   415 
       
   416   // Pointer to type-stable park handler, encoded as jlong.
       
   417   // Should be set when apparently null
       
   418   // For details, see unsafe.cpp Unsafe_Unpark
       
   419   static jlong park_event(oop java_thread);
       
   420   static bool set_park_event(oop java_thread, jlong ptr);
       
   421 
   414 
   422   // Java Thread Status for JVMTI and M&M use.
   415   // Java Thread Status for JVMTI and M&M use.
   423   // This thread status info is saved in threadStatus field of
   416   // This thread status info is saved in threadStatus field of
   424   // java.lang.Thread java class.
   417   // java.lang.Thread java class.
   425   enum ThreadStatus {
   418   enum ThreadStatus {