Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
1936:8d88c9ac9247 | 1937:4853c5cad3aa |
---|---|
48 if (list->at(i)->matches((vframe*)this)) { | 48 if (list->at(i)->matches((vframe*)this)) { |
49 deferred = list->at(i)->locals(); | 49 deferred = list->at(i)->locals(); |
50 break; | 50 break; |
51 } | 51 } |
52 } | 52 } |
53 } | |
54 | |
55 if (TraceDeoptimization) { | |
56 tty->print_cr("bci=%d length=%d", this->bci(), length); | |
57 tty->print_cr(err_msg("method name = %s", this->method()->name()->as_C_string())); | |
58 tty->print_cr("relative pc=%d", this->fr().pc() - this->nm()->code_begin()); | |
53 } | 59 } |
54 | 60 |
55 for( int i = 0; i < length; i++ ) { | 61 for( int i = 0; i < length; i++ ) { |
56 result->add( create_stack_value(scv_list->at(i)) ); | 62 result->add( create_stack_value(scv_list->at(i)) ); |
57 } | 63 } |