Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.hpp Tue Jun 12 23:42:31 2012 +0200 +++ b/src/share/vm/c1/c1_Runtime1.hpp Wed Jun 13 00:15:15 2012 +0200 @@ -81,6 +81,8 @@ stub(graal_create_null_pointer_exception) \ stub(graal_create_out_of_bounds_exception) \ stub(graal_generic_callback) \ + stub(graal_log_object) \ + stub(graal_log_primitive) \ last_entry(number_of_ids) #else #define RUNTIME1_STUBS(stub, last_entry) \ @@ -204,6 +206,8 @@ static void graal_generic_callback(JavaThread* thread, oop _callback, oop _argument); static void graal_monitorenter(JavaThread* thread, oopDesc* obj, BasicLock* lock); static void graal_monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); + static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); + static void graal_log_object(JavaThread* thread, oop msg, jboolean newline, jboolean string); #endif static void deoptimize(JavaThread* thread);