src/share/vm/runtime/osThread.hpp

changeset 3900
d2a62e0f25eb
parent 3796
960a442eae91
child 6461
bdd155477289
equal deleted inserted replaced
3877:74533f63b116 3900:d2a62e0f25eb
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*

mercurial