comparison src/share/vm/code/nmethod.cpp @ 1937:4853c5cad3aa

More deoptmization tracing.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Thu, 23 Dec 2010 22:14:31 +0100
parents 98dbef29f10b
children 06f017f7daa7
comparison
equal deleted inserted replaced
1936:8d88c9ac9247 1937:4853c5cad3aa
1097 } 1097 }
1098 1098
1099 1099
1100 ScopeDesc* nmethod::scope_desc_at(address pc) { 1100 ScopeDesc* nmethod::scope_desc_at(address pc) {
1101 PcDesc* pd = pc_desc_at(pc); 1101 PcDesc* pd = pc_desc_at(pc);
1102 #ifdef ASSERT
1103 if (pd == NULL) {
1104 tty->print_cr(err_msg("Missing scope at relative pc %d of method %s", pc - code_begin(), this->method()->name()->as_C_string()));
1105 print_pcs();
1106 }
1107 #endif
1102 guarantee(pd != NULL, "scope must be present"); 1108 guarantee(pd != NULL, "scope must be present");
1103 return new ScopeDesc(this, pd->scope_decode_offset(), 1109 return new ScopeDesc(this, pd->scope_decode_offset(),
1104 pd->obj_decode_offset(), pd->should_reexecute(), 1110 pd->obj_decode_offset(), pd->should_reexecute(),
1105 pd->return_oop()); 1111 pd->return_oop());
1106 } 1112 }