comparison src/share/vm/graal/graalRuntime.hpp @ 9420:393d62a868da

replaced thread_is_interrupted assembler stub with a compiled stub (GRAAL-81)
author Doug Simon <doug.simon@oracle.com>
date Tue, 30 Apr 2013 00:33:27 +0200
parents 640d86a6bf4a
children 3e7d22d31f7e a14fef4fca7d
comparison
equal deleted inserted replaced
9419:640d86a6bf4a 9420:393d62a868da
95 stub(log_object) \ 95 stub(log_object) \
96 stub(log_printf) \ 96 stub(log_printf) \
97 stub(stub_printf) \ 97 stub(stub_printf) \
98 stub(log_primitive) \ 98 stub(log_primitive) \
99 stub(identity_hash_code) \ 99 stub(identity_hash_code) \
100 stub(thread_is_interrupted) \
101 stub(wb_pre_call) \ 100 stub(wb_pre_call) \
102 stub(wb_post_call) \ 101 stub(wb_post_call) \
103 last_entry(number_of_ids) 102 last_entry(number_of_ids)
104 103
105 #define DECLARE_STUB_ID(x) x ## _id , 104 #define DECLARE_STUB_ID(x) x ## _id ,
143 static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); 142 static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline);
144 static void wb_pre_call(JavaThread* thread, oopDesc* obj); 143 static void wb_pre_call(JavaThread* thread, oopDesc* obj);
145 static void wb_post_call(JavaThread* thread, oopDesc* obj, void* card); 144 static void wb_post_call(JavaThread* thread, oopDesc* obj, void* card);
146 145
147 static jint identity_hash_code(JavaThread* thread, oopDesc* objd); 146 static jint identity_hash_code(JavaThread* thread, oopDesc* objd);
148 static jboolean thread_is_interrupted(JavaThread* thread, oopDesc* obj, jboolean clear_interrupte);
149 147
150 // Note: Must be kept in sync with constants in com.oracle.graal.replacements.Log 148 // Note: Must be kept in sync with constants in com.oracle.graal.replacements.Log
151 enum { 149 enum {
152 LOG_OBJECT_NEWLINE = 0x01, 150 LOG_OBJECT_NEWLINE = 0x01,
153 LOG_OBJECT_STRING = 0x02, 151 LOG_OBJECT_STRING = 0x02,
157 155
158 public: 156 public:
159 static void new_instance(JavaThread* thread, Klass* klass); 157 static void new_instance(JavaThread* thread, Klass* klass);
160 static void new_array(JavaThread* thread, Klass* klass, jint length); 158 static void new_array(JavaThread* thread, Klass* klass, jint length);
161 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims); 159 static void new_multi_array(JavaThread* thread, Klass* klass, int rank, jint* dims);
160 static jboolean thread_is_interrupted(JavaThread* thread, oopDesc* obj, jboolean clear_interrupte);
162 // initialization 161 // initialization
163 static void initialize(BufferBlob* blob); 162 static void initialize(BufferBlob* blob);
164 163
165 // stubs 164 // stubs
166 static CodeBlob* blob_for (StubID id); 165 static CodeBlob* blob_for (StubID id);