src/hotspot/share/runtime/thread.hpp
changeset 54955 46409371a691
parent 54807 33fe50b6d707
child 55005 9b70ebd131b4
--- a/src/hotspot/share/runtime/thread.hpp	Tue May 21 00:52:04 2019 -0700
+++ b/src/hotspot/share/runtime/thread.hpp	Tue May 21 10:34:57 2019 +0200
@@ -983,7 +983,6 @@
   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
 
@@ -1247,10 +1246,6 @@
   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; }
@@ -2213,7 +2208,6 @@
 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;