Mercurial > hg > truffle
comparison src/share/vm/utilities/exceptions.hpp @ 1684:66c5dadb4d61
6973308: Missing zero length check before repne scas in check_klass_subtype_slow_path()
Summary: set Z = 0 (not equal) before repne_scan() to indicate that class was not found when RCX == 0.
Reviewed-by: never, phh
author | kvn |
---|---|
date | Fri, 30 Jul 2010 10:21:15 -0700 |
parents | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1683:99ceb0e99c9e | 1684:66c5dadb4d61 |
---|---|
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.: |