comparison src/share/vm/graal/graalRuntime.hpp @ 8489:92d21814cf7b

-Implement WB primitive stub call for G1's slow path later
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Tue, 19 Feb 2013 17:57:14 +0100
parents a6bd253a770f
children 1567c6cc6561
comparison
equal deleted inserted replaced
8488:225c984588ee 8489:92d21814cf7b
101 stub(graal_log_object) \ 101 stub(graal_log_object) \
102 stub(graal_log_printf) \ 102 stub(graal_log_printf) \
103 stub(graal_log_primitive) \ 103 stub(graal_log_primitive) \
104 stub(graal_identity_hash_code) \ 104 stub(graal_identity_hash_code) \
105 stub(graal_thread_is_interrupted) \ 105 stub(graal_thread_is_interrupted) \
106 stub(graal_g1_wb_slow) \
106 last_entry(number_of_ids) 107 last_entry(number_of_ids)
107 108
108 #define DECLARE_STUB_ID(x) x ## _id , 109 #define DECLARE_STUB_ID(x) x ## _id ,
109 #define DECLARE_LAST_STUB_ID(x) x 110 #define DECLARE_LAST_STUB_ID(x) x
110 #define STUB_NAME(x) #x " GraalRuntime stub", 111 #define STUB_NAME(x) #x " GraalRuntime stub",
138 139
139 static void unimplemented_entry(JavaThread* thread, StubID id); 140 static void unimplemented_entry(JavaThread* thread, StubID id);
140 141
141 static address exception_handler_for_pc(JavaThread* thread); 142 static address exception_handler_for_pc(JavaThread* thread);
142 143
144 static void graal_g1_wb_slow(JavaThread* thread, oopDesc* obj);
143 static void graal_create_null_exception(JavaThread* thread); 145 static void graal_create_null_exception(JavaThread* thread);
144 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); 146 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index);
145 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); 147 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock);
146 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); 148 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock);
147 static void graal_vm_error(JavaThread* thread, oop where, oop format, jlong value); 149 static void graal_vm_error(JavaThread* thread, oop where, oop format, jlong value);