equal
deleted
inserted
replaced
141 ExceptionMsgToUtf8Mode to_utf8_safe = safe_to_utf8); |
141 ExceptionMsgToUtf8Mode to_utf8_safe = safe_to_utf8); |
142 |
142 |
143 static void throw_stack_overflow_exception(Thread* thread, const char* file, int line); |
143 static void throw_stack_overflow_exception(Thread* thread, const char* file, int line); |
144 |
144 |
145 // for AbortVMOnException flag |
145 // for AbortVMOnException flag |
146 NOT_PRODUCT(static void debug_check_abort(Handle exception);) |
146 NOT_PRODUCT(static void debug_check_abort(Handle exception, const char* message = NULL);) |
147 NOT_PRODUCT(static void debug_check_abort(const char *value_string);) |
147 NOT_PRODUCT(static void debug_check_abort(const char *value_string, const char* message = NULL);) |
148 }; |
148 }; |
149 |
149 |
150 |
150 |
151 // The THREAD & TRAPS macros facilitate the declaration of functions that throw exceptions. |
151 // The THREAD & TRAPS macros facilitate the declaration of functions that throw exceptions. |
152 // Convention: Use the TRAPS macro as the last argument of such a function; e.g.: |
152 // Convention: Use the TRAPS macro as the last argument of such a function; e.g.: |