Mercurial > hg > truffle
diff src/share/vm/runtime/vframe_hp.cpp @ 1937:4853c5cad3aa
More deoptmization tracing.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 23 Dec 2010 22:14:31 +0100 |
parents | c18cbe5936b8 |
children | 06f017f7daa7 |
line wrap: on
line diff
--- a/src/share/vm/runtime/vframe_hp.cpp Thu Dec 23 18:13:28 2010 +0100 +++ b/src/share/vm/runtime/vframe_hp.cpp Thu Dec 23 22:14:31 2010 +0100 @@ -52,6 +52,12 @@ } } + if (TraceDeoptimization) { + tty->print_cr("bci=%d length=%d", this->bci(), length); + tty->print_cr(err_msg("method name = %s", this->method()->name()->as_C_string())); + tty->print_cr("relative pc=%d", this->fr().pc() - this->nm()->code_begin()); + } + for( int i = 0; i < length; i++ ) { result->add( create_stack_value(scv_list->at(i)) ); }