Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.hpp Sat Apr 23 00:33:38 2011 -0400 +++ b/src/share/vm/utilities/exceptions.hpp Tue Apr 26 14:04:43 2011 -0400 @@ -144,7 +144,7 @@ const char* message, ExceptionMsgToUtf8Mode to_utf8_safe = safe_to_utf8); - static void throw_stack_overflow_exception(Thread* thread, const char* file, int line); + static void throw_stack_overflow_exception(Thread* thread, const char* file, int line, methodHandle method); // for AbortVMOnException flag NOT_PRODUCT(static void debug_check_abort(Handle exception, const char* message = NULL);)