hotspot/src/share/vm/runtime/thread.hpp
changeset 27917 c5937f7b4e8b
parent 27651 b85a7f15f835
child 28039 bf5a8340bf8a
child 29181 89beae49867c
equal deleted inserted replaced
27916:6db2a04e72b1 27917:c5937f7b4e8b
   747 
   747 
   748 typedef void (*ThreadFunction)(JavaThread*, TRAPS);
   748 typedef void (*ThreadFunction)(JavaThread*, TRAPS);
   749 
   749 
   750 class JavaThread: public Thread {
   750 class JavaThread: public Thread {
   751   friend class VMStructs;
   751   friend class VMStructs;
       
   752   friend class WhiteBox;
   752  private:
   753  private:
   753   JavaThread*    _next;                          // The next thread in the Threads list
   754   JavaThread*    _next;                          // The next thread in the Threads list
   754   oop            _threadObj;                     // The Java level thread object
   755   oop            _threadObj;                     // The Java level thread object
   755 
   756 
   756 #ifdef ASSERT
   757 #ifdef ASSERT
   998 
   999 
   999 
  1000 
  1000   ThreadFunction entry_point() const             { return _entry_point; }
  1001   ThreadFunction entry_point() const             { return _entry_point; }
  1001 
  1002 
  1002   // Allocates a new Java level thread object for this thread. thread_name may be NULL.
  1003   // Allocates a new Java level thread object for this thread. thread_name may be NULL.
  1003   void allocate_threadObj(Handle thread_group, char* thread_name, bool daemon, TRAPS);
  1004   void allocate_threadObj(Handle thread_group, const char* thread_name, bool daemon, TRAPS);
  1004 
  1005 
  1005   // Last frame anchor routines
  1006   // Last frame anchor routines
  1006 
  1007 
  1007   JavaFrameAnchor* frame_anchor(void)            { return &_anchor; }
  1008   JavaFrameAnchor* frame_anchor(void)            { return &_anchor; }
  1008 
  1009