comparison src/share/vm/utilities/exceptions.hpp @ 3939:f6f3bb0ee072

7088955: add C2 IR support to the SA Reviewed-by: kvn
author never
date Sun, 11 Sep 2011 14:48:24 -0700
parents 01147d8aac1d
children 20334ed5ed3c
comparison
equal deleted inserted replaced
3938:e6b1331a51d2 3939:f6f3bb0ee072
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