diff src/share/vm/graal/graalRuntime.cpp @ 7235:a6bd253a770f

expanded LOG_PRINTF stub to handle up to 3 arguments in addition to the format string
author Doug Simon <doug.simon@oracle.com>
date Mon, 17 Dec 2012 11:12:01 +0100
parents 8a3efb8c831d
children 707e9cca11de
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.cpp	Mon Dec 17 08:32:49 2012 +0100
+++ b/src/share/vm/graal/graalRuntime.cpp	Mon Dec 17 11:12:01 2012 +0100
@@ -551,11 +551,11 @@
   report_vm_error(__FILE__, __LINE__, error_msg, detail_msg);
 JRT_END
 
-JRT_ENTRY(void, GraalRuntime::graal_log_printf(JavaThread* thread, oop format, jlong val))
+JRT_ENTRY(void, GraalRuntime::graal_log_printf(JavaThread* thread, oop format, jlong v1, jlong v2, jlong v3))
   ResourceMark rm;
   assert(format != NULL && java_lang_String::is_instance(format), "must be");
   char *buf = java_lang_String::as_utf8_string(format);
-  tty->print(buf, val);
+  tty->print(buf, v1, v2, v3);
 JRT_END
 
 JRT_ENTRY(void, GraalRuntime::graal_log_primitive(JavaThread* thread, jchar typeChar, jlong value, jboolean newline))