comparison src/share/vm/graal/graalRuntime.hpp @ 9591:0381c7937e7a

replaced create_null_pointer_exception assembler stub with compiled stub (GRAAL-81)
author Doug Simon <doug.simon@oracle.com>
date Mon, 06 May 2013 23:42:17 +0200
parents 5f9c41cd3b1e
children efb8c1918ea5
comparison
equal deleted inserted replaced
9590:5f9c41cd3b1e 9591:0381c7937e7a
77 // Holds all assembly stubs and VM 77 // Holds all assembly stubs and VM
78 // runtime routines needed by code code generated 78 // runtime routines needed by code code generated
79 // by Graal. 79 // by Graal.
80 #define GRAAL_STUBS(stub, last_entry) \ 80 #define GRAAL_STUBS(stub, last_entry) \
81 stub(vm_error) \ 81 stub(vm_error) \
82 stub(create_null_pointer_exception) \
83 stub(create_out_of_bounds_exception) \ 82 stub(create_out_of_bounds_exception) \
84 stub(log_object) \ 83 stub(log_object) \
85 stub(log_printf) \ 84 stub(log_printf) \
86 stub(log_primitive) \ 85 stub(log_primitive) \
87 stub(wb_pre_call) \ 86 stub(wb_pre_call) \
114 Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg); 113 Register arg1 = noreg, Register arg2 = noreg, Register arg3 = noreg);
115 114
116 // runtime entry points 115 // runtime entry points
117 static void unimplemented_entry(JavaThread* thread, StubID id); 116 static void unimplemented_entry(JavaThread* thread, StubID id);
118 117
119 static void create_null_exception(JavaThread* thread);
120 static void create_out_of_bounds_exception(JavaThread* thread, jint index); 118 static void create_out_of_bounds_exception(JavaThread* thread, jint index);
121 static void vm_error(JavaThread* thread, oop where, oop format, jlong value); 119 static void vm_error(JavaThread* thread, oop where, oop format, jlong value);
122 static void log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3); 120 static void log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3);
123 static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); 121 static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline);
124 static void wb_pre_call(JavaThread* thread, oopDesc* obj); 122 static void wb_pre_call(JavaThread* thread, oopDesc* obj);
141 static void vm_message(jboolean vmError, jlong format, jlong v1, jlong v2, jlong v3); 139 static void vm_message(jboolean vmError, jlong format, jlong v1, jlong v2, jlong v3);
142 static jint identity_hash_code(JavaThread* thread, oopDesc* objd); 140 static jint identity_hash_code(JavaThread* thread, oopDesc* objd);
143 static address exception_handler_for_pc(JavaThread* thread); 141 static address exception_handler_for_pc(JavaThread* thread);
144 static void monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); 142 static void monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock);
145 static void monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); 143 static void monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock);
144 static void create_null_exception(JavaThread* thread);
146 145
147 // initialization 146 // initialization
148 static void initialize(BufferBlob* blob); 147 static void initialize(BufferBlob* blob);
149 148
150 // stubs 149 // stubs