hotspot/src/share/vm/utilities/exceptions.cpp
changeset 46968 9119841280f4
parent 46701 f559541c0daa
child 47103 a993ec29ec75
equal deleted inserted replaced
46953:39063b484ec2 46968:9119841280f4
    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