< prev index next > src/hotspot/share/classfile/javaClasses.hpp
Print this page
private:
static int static_vthread_scope_offset;
static int _carrierThread_offset;
static int _continuation_offset;
static int _state_offset;
+ static int _next_offset;
+ static int _onWaitingList_offset;
+ static int _recheckInterval_offset;
JFR_ONLY(static int _jfr_epoch_offset;)
public:
enum {
NEW = 0,
STARTED = 1,
TIMED_PARKED = 7,
TIMED_PINNED = 8,
UNPARKED = 9,
YIELDING = 10,
YIELDED = 11,
+ BLOCKING = 12,
+ BLOCKED = 13,
+ UNBLOCKED = 14,
TERMINATED = 99,
// additional state bits
SUSPENDED = 1 << 8, // suspended when unmounted
};
static oop vthread_scope();
static oop carrier_thread(oop vthread);
static oop continuation(oop vthread);
static int state(oop vthread);
+ static void set_state(oop vthread, int state);
+ static oop next(oop vthread);
+ static void set_next(oop vthread, oop next_vthread);
+ static bool set_onWaitingList(oop vthread, OopHandle& list_head);
+ static jbyte recheckInterval(oop vthread);
+ static void set_recheckInterval(oop vthread, jbyte value);
+ static bool is_preempted(oop vthread);
static JavaThreadStatus map_state_to_thread_status(int state);
};
// Interface to java.lang.Throwable objects
< prev index next >