Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_Runtime1.hpp @ 5580:69358a2182a3
added printf-like facility (Log.java) for logging debug output in snippets
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 13 Jun 2012 00:15:15 +0200 |
parents | f5cfb62f17b8 |
children | 7d25723b7699 |
comparison
equal
deleted
inserted
replaced
5579:8e6622e1fb7e | 5580:69358a2182a3 |
---|---|
79 stub(graal_verify_pointer) \ | 79 stub(graal_verify_pointer) \ |
80 stub(graal_set_deopt_info) \ | 80 stub(graal_set_deopt_info) \ |
81 stub(graal_create_null_pointer_exception) \ | 81 stub(graal_create_null_pointer_exception) \ |
82 stub(graal_create_out_of_bounds_exception) \ | 82 stub(graal_create_out_of_bounds_exception) \ |
83 stub(graal_generic_callback) \ | 83 stub(graal_generic_callback) \ |
84 stub(graal_log_object) \ | |
85 stub(graal_log_primitive) \ | |
84 last_entry(number_of_ids) | 86 last_entry(number_of_ids) |
85 #else | 87 #else |
86 #define RUNTIME1_STUBS(stub, last_entry) \ | 88 #define RUNTIME1_STUBS(stub, last_entry) \ |
87 stub(dtrace_object_alloc) \ | 89 stub(dtrace_object_alloc) \ |
88 stub(unwind_exception) \ | 90 stub(unwind_exception) \ |
202 static void graal_create_null_exception(JavaThread* thread); | 204 static void graal_create_null_exception(JavaThread* thread); |
203 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); | 205 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); |
204 static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); | 206 static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); |
205 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); | 207 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); |
206 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); | 208 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); |
209 static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); | |
210 static void graal_log_object(JavaThread* thread, oop msg, jboolean newline, jboolean string); | |
207 #endif | 211 #endif |
208 | 212 |
209 static void deoptimize(JavaThread* thread); | 213 static void deoptimize(JavaThread* thread); |
210 | 214 |
211 static int access_field_patching(JavaThread* thread); | 215 static int access_field_patching(JavaThread* thread); |