< prev index next >

src/hotspot/share/classfile/javaClasses.hpp

Print this page
@@ -517,24 +517,26 @@
    static int _continuation_offset;
    static int _state_offset;
    JFR_ONLY(static int _jfr_epoch_offset;)
   public:
    enum {
-     NEW          = 0,
-     STARTED      = 1,
-     RUNNABLE     = 2,
-     RUNNING      = 3,
-     PARKING      = 4,
-     PARKED       = 5,
-     PINNED       = 6,
-     YIELDING     = 7,
-     TERMINATED   = 99,
- 
-     // can be suspended from scheduling when unmounted
-     SUSPENDED    = 1 << 8,
-     RUNNABLE_SUSPENDED = (RUNNABLE | SUSPENDED),
-     PARKED_SUSPENDED   = (PARKED | SUSPENDED)
+     NEW           = 0,
+     STARTED       = 1,
+     RUNNING       = 2,
+     PARKING       = 3,
+     PARKED        = 4,
+     PINNED        = 5,
+     TIMED_PARKING = 6,
+     TIMED_PARKED  = 7,
+     TIMED_PINNED  = 8,
+     UNPARKED      = 9,
+     YIELDING      = 10,
+     YIELDED       = 11,
+     TERMINATED    = 99,
+ 
+     // additional state bits
+     SUSPENDED    = 1 << 8,   // suspended when unmounted
    };
  
    static void compute_offsets();
    static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
  
< prev index next >