Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalRuntime.hpp @ 16273:d6ffc6164830
handle any exception raised during Graal option checking/parsing, not just those with a non-null message
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 27 Jun 2014 22:21:40 +0200 |
parents | d56a09df1a1f |
children | ad431bf0de07 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp Fri Jun 27 22:11:08 2014 +0200 +++ b/src/share/vm/graal/graalRuntime.hpp Fri Jun 27 22:21:40 2014 +0200 @@ -134,6 +134,11 @@ */ static void abort_on_pending_exception(Handle exception, const char* message, bool dump_core = false); + /** + * Calls Throwable.printStackTrace() on a given exception. + */ + static void call_printStackTrace(Handle exception, Thread* thread); + #define GUARANTEE_NO_PENDING_EXCEPTION(error_message) do { \ if (HAS_PENDING_EXCEPTION) { \ GraalRuntime::abort_on_pending_exception(PENDING_EXCEPTION, error_message); \