changeset 15652:3397e82e2f35

fix printing of pc in deopt message
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Wed, 14 May 2014 21:24:19 -0700
parents ca2a8fe16037
children 74d3a86cbac8
files src/share/vm/runtime/deoptimization.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Wed May 14 21:14:13 2014 -0700
+++ b/src/share/vm/runtime/deoptimization.cpp	Wed May 14 21:24:19 2014 -0700
@@ -1348,7 +1348,7 @@
     ScopeDesc*      trap_scope  = cvf->scope();
     
     if (TraceDeoptimization) {
-      tty->print_cr("  bci=%d pc=%d, relative_pc=%d, method=%s" GRAAL_ONLY(", debug_id=%d"), trap_scope->bci(), fr.pc(), fr.pc() - nm->code_begin(), trap_scope->method()->name_and_sig_as_C_string()
+      tty->print_cr("  bci=%d pc=" INTPTR_FORMAT ", relative_pc=%d, method=%s" GRAAL_ONLY(", debug_id=%d"), trap_scope->bci(), fr.pc(), fr.pc() - nm->code_begin(), trap_scope->method()->name_and_sig_as_C_string()
 #ifdef GRAAL
           , debug_id
 #endif