hotspot/src/share/vm/runtime/osThread.hpp
changeset 13196 6b399731153b
parent 13195 be27e1b6a4b9
child 22827 07d991d45a51
equal deleted inserted replaced
13193:1df6cf8d4cd7 13196:6b399731153b
    56 // I'd make OSThread a ValueObj embedded in Thread to avoid an indirection, but
    56 // I'd make OSThread a ValueObj embedded in Thread to avoid an indirection, but
    57 // the assembler test in java.cpp expects that it can install the OSThread of
    57 // the assembler test in java.cpp expects that it can install the OSThread of
    58 // the main thread into its own Thread at will.
    58 // the main thread into its own Thread at will.
    59 
    59 
    60 
    60 
    61 class OSThread: public CHeapObj {
    61 class OSThread: public CHeapObj<mtThread> {
    62   friend class VMStructs;
    62   friend class VMStructs;
    63  private:
    63  private:
    64   OSThreadStartFunc _start_proc;  // Thread start routine
    64   OSThreadStartFunc _start_proc;  // Thread start routine
    65   void* _start_parm;              // Thread start routine parameter
    65   void* _start_parm;              // Thread start routine parameter
    66   volatile ThreadState _state;    // Thread state *hint*
    66   volatile ThreadState _state;    // Thread state *hint*