diff src/share/vm/graal/graalRuntime.hpp @ 9820:1b60f639ac4b

implemented alternative implementation for loading the exception object from the thread at the start of an exception dispatcher
author Doug Simon <doug.simon@oracle.com>
date Sat, 25 May 2013 23:42:11 +0200
parents aa8f3fc0a9a9
children 62ea8789b88a
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp	Sat May 25 23:33:03 2013 +0200
+++ b/src/share/vm/graal/graalRuntime.hpp	Sat May 25 23:42:11 2013 +0200
@@ -42,6 +42,7 @@
   static void create_null_exception(JavaThread* thread);
   static void create_out_of_bounds_exception(JavaThread* thread, jint index);
   static void vm_error(JavaThread* thread, oop where, oop format, jlong value);
+  static oop load_and_clear_exception(JavaThread* thread);
   static void log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3);
   static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline);
   // Note: Must be kept in sync with constants in com.oracle.graal.replacements.Log