Mercurial > hg > graal-compiler
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.hpp Wed Sep 26 13:56:27 2012 +0200 +++ b/src/share/vm/c1/c1_Runtime1.hpp Wed Sep 26 18:15:11 2012 +0200 @@ -82,6 +82,7 @@ stub(graal_create_out_of_bounds_exception) \ stub(graal_generic_callback) \ stub(graal_log_object) \ + stub(graal_log_printf) \ stub(graal_log_primitive) \ last_entry(number_of_ids) #else @@ -206,6 +207,7 @@ 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_printf(JavaThread* thread, oop format, jlong value); static void graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); // Note: Must be kept in sync with constants in com.oracle.graal.snippets.Log