< prev index next >
src/hotspot/share/runtime/thread.hpp
Print this page
rev 54717 : imported patch 8223306
*** 981,991 ****
class JavaThread: public Thread {
friend class VMStructs;
friend class JVMCIVMStructs;
friend class WhiteBox;
private:
- JavaThread* _next; // The next thread in the Threads list
bool _on_thread_list; // Is set when this JavaThread is added to the Threads list
oop _threadObj; // The Java level thread object
#ifdef ASSERT
private:
--- 981,990 ----
*** 1245,1258 ****
// Testers
virtual bool is_Java_thread() const { return true; }
virtual bool can_call_java() const { return true; }
- // Thread chain operations
- JavaThread* next() const { return _next; }
- void set_next(JavaThread* p) { _next = p; }
-
// Thread oop. threadObj() can be NULL for initial JavaThread
// (or for threads attached via JNI)
oop threadObj() const { return _threadObj; }
void set_threadObj(oop p) { _threadObj = p; }
--- 1244,1253 ----
*** 2210,2220 ****
// The active thread queue. It also keeps track of the current used
// thread priorities.
class Threads: AllStatic {
friend class VMStructs;
private:
- static JavaThread* _thread_list;
static int _number_of_threads;
static int _number_of_non_daemon_threads;
static int _return_code;
static uintx _thread_claim_token;
#ifdef ASSERT
--- 2205,2214 ----
< prev index next >