Mercurial > hg > truffle
diff src/share/vm/graal/graalRuntime.hpp @ 9232:bb2447c64055
strings used in compiled stubs are lowered to malloc'ed C strings so that there are no embedded oops (for the strings) in the resulting installed code
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 22 Apr 2013 17:59:14 +0200 |
parents | 32e57c4e0e9d |
children | 0266549ff6e0 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp Mon Apr 22 17:09:02 2013 +0200 +++ b/src/share/vm/graal/graalRuntime.hpp Mon Apr 22 17:59:14 2013 +0200 @@ -98,6 +98,7 @@ stub(create_out_of_bounds_exception) \ stub(log_object) \ stub(log_printf) \ + stub(stub_printf) \ stub(log_primitive) \ stub(identity_hash_code) \ stub(thread_is_interrupted) \ @@ -146,6 +147,7 @@ static void monitorexit (JavaThread* thread, oopDesc* obj, BasicLock* lock); static void vm_error(JavaThread* thread, oop where, oop format, jlong value); static void log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3); + static void stub_printf(JavaThread* thread, jlong format, jlong v1, jlong v2, jlong v3); static void log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline); static void wb_pre_call(JavaThread* thread, oopDesc* obj); static void wb_post_call(JavaThread* thread, oopDesc* obj, void* card);