diff src/share/vm/graal/graalRuntime.hpp @ 9471:5fa54bf57f8c

replaced exception_handler_nofpu assembler stub with a compiled stub (GRAAL-81) generalized stub printf mechanism to also serve as a fatal VM exit message
author Doug Simon <doug.simon@oracle.com>
date Wed, 01 May 2013 17:46:12 +0200
parents 902a974d55c8
children 99ef9bcb3f32
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp	Wed May 01 15:53:17 2013 +0200
+++ b/src/share/vm/graal/graalRuntime.hpp	Wed May 01 17:46:12 2013 +0200
@@ -81,7 +81,6 @@
 // runtime routines needed by code code generated
 // by Graal.
 #define GRAAL_STUBS(stub, last_entry) \
-  stub(handle_exception_nofpu) /* optimized version that does not preserve fpu registers */ \
   stub(unwind_exception_call)   \
   stub(OSR_migration_end)       \
   stub(arithmetic_frem)         \
@@ -119,7 +118,6 @@
   // stub generation
   static void       generate_blob_for(BufferBlob* blob, StubID id);
   static OopMapSet* generate_code_for(StubID id, GraalStubAssembler* sasm);
-  static OopMapSet* generate_handle_exception(StubID id, GraalStubAssembler* sasm);
   static void       generate_unwind_exception(GraalStubAssembler *sasm);
 
   static OopMapSet* generate_stub_call(GraalStubAssembler* sasm, Register result, address entry,
@@ -128,8 +126,6 @@
   // runtime entry points
   static void unimplemented_entry(JavaThread* thread, StubID id);
 
-  static address exception_handler_for_pc(JavaThread* thread);
-
   static void create_null_exception(JavaThread* thread);
   static void create_out_of_bounds_exception(JavaThread* thread, jint index);
   static void monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock);
@@ -154,8 +150,10 @@
   static void new_array(JavaThread* thread, Klass* klass, jint length);
   static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims);
   static jboolean thread_is_interrupted(JavaThread* thread, oopDesc* obj, jboolean clear_interrupte);
-  static void stub_printf(jlong format, jlong v1, jlong v2, jlong v3);
+  static void vm_message(jboolean vmError, jlong format, jlong v1, jlong v2, jlong v3);
   static jint identity_hash_code(JavaThread* thread, oopDesc* objd);
+  static address exception_handler_for_pc(JavaThread* thread);
+
   // initialization
   static void initialize(BufferBlob* blob);