Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/deoptimization.cpp @ 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 | 063ec2920d21 |
children | 5c70a97bc5cc |
comparison
equal
deleted
inserted
replaced
15651:ca2a8fe16037 | 15652:3397e82e2f35 |
---|---|
1346 nmethod* nm = cvf->code(); | 1346 nmethod* nm = cvf->code(); |
1347 | 1347 |
1348 ScopeDesc* trap_scope = cvf->scope(); | 1348 ScopeDesc* trap_scope = cvf->scope(); |
1349 | 1349 |
1350 if (TraceDeoptimization) { | 1350 if (TraceDeoptimization) { |
1351 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() | 1351 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() |
1352 #ifdef GRAAL | 1352 #ifdef GRAAL |
1353 , debug_id | 1353 , debug_id |
1354 #endif | 1354 #endif |
1355 ); | 1355 ); |
1356 } | 1356 } |