comparison src/share/vm/utilities/exceptions.hpp @ 3272:01147d8aac1d

7009923: JSR 292: VM crash in JavaThread::last_frame Summary: Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack. Reviewed-by: dholmes, phh, dsamersoff
author coleenp
date Tue, 26 Apr 2011 14:04:43 -0400
parents 1d1603768966
children f6f3bb0ee072
comparison
equal deleted inserted replaced
3271:cdd13dce903e 3272:01147d8aac1d
142 142
143 static Handle new_exception(Thread* thread, Symbol* name, 143 static Handle new_exception(Thread* thread, Symbol* name,
144 const char* message, 144 const char* message,
145 ExceptionMsgToUtf8Mode to_utf8_safe = safe_to_utf8); 145 ExceptionMsgToUtf8Mode to_utf8_safe = safe_to_utf8);
146 146
147 static void throw_stack_overflow_exception(Thread* thread, const char* file, int line); 147 static void throw_stack_overflow_exception(Thread* thread, const char* file, int line, methodHandle method);
148 148
149 // for AbortVMOnException flag 149 // for AbortVMOnException flag
150 NOT_PRODUCT(static void debug_check_abort(Handle exception, const char* message = NULL);) 150 NOT_PRODUCT(static void debug_check_abort(Handle exception, const char* message = NULL);)
151 NOT_PRODUCT(static void debug_check_abort(const char *value_string, const char* message = NULL);) 151 NOT_PRODUCT(static void debug_check_abort(const char *value_string, const char* message = NULL);)
152 }; 152 };