Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/deoptimization.cpp @ 19670:1f95f91dd1d6
Add ttyLocker to TraceDeoptimization output
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 02 Mar 2015 19:06:41 -0800 |
parents | 37a5c6b8b930 |
children | 71040f48cc34 |
comparison
equal
deleted
inserted
replaced
19669:f595e97626fd | 19670:1f95f91dd1d6 |
---|---|
1403 nmethod* nm = cvf->code(); | 1403 nmethod* nm = cvf->code(); |
1404 | 1404 |
1405 ScopeDesc* trap_scope = cvf->scope(); | 1405 ScopeDesc* trap_scope = cvf->scope(); |
1406 | 1406 |
1407 if (TraceDeoptimization) { | 1407 if (TraceDeoptimization) { |
1408 ttyLocker ttyl; | |
1408 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() | 1409 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() |
1409 #ifdef GRAAL | 1410 #ifdef GRAAL |
1410 , debug_id | 1411 , debug_id |
1411 #endif | 1412 #endif |
1412 ); | 1413 ); |