equal
deleted
inserted
replaced
45 if (offset1 != offset2) fatal("ThreadShadow::_pending_exception is not positioned correctly"); |
45 if (offset1 != offset2) fatal("ThreadShadow::_pending_exception is not positioned correctly"); |
46 } |
46 } |
47 |
47 |
48 |
48 |
49 void ThreadShadow::set_pending_exception(oop exception, const char* file, int line) { |
49 void ThreadShadow::set_pending_exception(oop exception, const char* file, int line) { |
50 assert(exception != NULL && exception->is_oop(), "invalid exception oop"); |
50 assert(exception != NULL && oopDesc::is_oop(exception), "invalid exception oop"); |
51 _pending_exception = exception; |
51 _pending_exception = exception; |
52 _exception_file = file; |
52 _exception_file = file; |
53 _exception_line = line; |
53 _exception_line = line; |
54 } |
54 } |
55 |
55 |