Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_Runtime1.hpp @ 6446:c8759f9f9e3c
added Log.printf() for more flexibility in debugging snippets
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 26 Sep 2012 18:15:11 +0200 |
parents | 6b74f44c5059 |
children | 3bba61323b38 |
comparison
equal
deleted
inserted
replaced
6445:a2299c2fc0c6 | 6446:c8759f9f9e3c |
---|---|
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) \ | 84 stub(graal_log_object) \ |
85 stub(graal_log_printf) \ | |
85 stub(graal_log_primitive) \ | 86 stub(graal_log_primitive) \ |
86 last_entry(number_of_ids) | 87 last_entry(number_of_ids) |
87 #else | 88 #else |
88 #define RUNTIME1_STUBS(stub, last_entry) \ | 89 #define RUNTIME1_STUBS(stub, last_entry) \ |
89 stub(dtrace_object_alloc) \ | 90 stub(dtrace_object_alloc) \ |
204 static void graal_create_null_exception(JavaThread* thread); | 205 static void graal_create_null_exception(JavaThread* thread); |
205 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); | 206 static void graal_create_out_of_bounds_exception(JavaThread* thread, jint index); |
206 static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); | 207 static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); |
207 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); | 208 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); |
208 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); | 209 static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); |
210 static void graal_log_printf(JavaThread* thread, oop format, jlong value); | |
209 static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); | 211 static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); |
210 | 212 |
211 // Note: Must be kept in sync with constants in com.oracle.graal.snippets.Log | 213 // Note: Must be kept in sync with constants in com.oracle.graal.snippets.Log |
212 enum { | 214 enum { |
213 LOG_OBJECT_NEWLINE = 0x01, | 215 LOG_OBJECT_NEWLINE = 0x01, |