56 // The ThreadShadow class is a helper class to access the _pending_exception |
56 // The ThreadShadow class is a helper class to access the _pending_exception |
57 // field of the Thread class w/o having access to the Thread's interface (for |
57 // field of the Thread class w/o having access to the Thread's interface (for |
58 // include hierachy reasons). |
58 // include hierachy reasons). |
59 |
59 |
60 class ThreadShadow: public CHeapObj { |
60 class ThreadShadow: public CHeapObj { |
|
61 friend class VMStructs; |
|
62 |
61 protected: |
63 protected: |
62 oop _pending_exception; // Thread has gc actions. |
64 oop _pending_exception; // Thread has gc actions. |
63 const char* _exception_file; // file information for exception (debugging only) |
65 const char* _exception_file; // file information for exception (debugging only) |
64 int _exception_line; // line information for exception (debugging only) |
66 int _exception_line; // line information for exception (debugging only) |
65 friend void check_ThreadShadow(); // checks _pending_exception offset |
67 friend void check_ThreadShadow(); // checks _pending_exception offset |