Mercurial > hg > truffle
comparison src/share/vm/c1/c1_Runtime1.hpp @ 6388:6b74f44c5059
added Log.printObject() and Log.printlnObject() for more detailed logging of objects
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 14 Sep 2012 10:49:34 +0200 |
parents | 957c266d8bc5 |
children | c8759f9f9e3c |
comparison
equal
deleted
inserted
replaced
6387:d44835610b52 | 6388:6b74f44c5059 |
---|---|
205 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); |
206 static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); | 206 static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); |
207 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); | 207 static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); |
208 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); | 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); | 210 |
211 // Note: Must be kept in sync with constants in com.oracle.graal.snippets.Log | |
212 enum { | |
213 LOG_OBJECT_NEWLINE = 0x01, | |
214 LOG_OBJECT_STRING = 0x02, | |
215 LOG_OBJECT_ADDRESS = 0x04 | |
216 }; | |
217 static void graal_log_object(JavaThread* thread, oop msg, jint flags); | |
211 #endif | 218 #endif |
212 | 219 |
213 static void deoptimize(JavaThread* thread); | 220 static void deoptimize(JavaThread* thread); |
214 | 221 |
215 static int access_field_patching(JavaThread* thread); | 222 static int access_field_patching(JavaThread* thread); |