< prev index next >
src/hotspot/cpu/x86/frame_x86.inline.hpp
Print this page
rev 50307 : [mq]: cont
@@ -72,15 +72,17 @@
_cb = CodeCache::find_blob(pc);
adjust_unextended_sp();
address original_pc = CompiledMethod::get_deopt_original_pc(this);
if (original_pc != NULL) {
+ assert(_cb != NULL, "no cb 1 pc: %p orig_pc: %p", pc, original_pc);
_pc = original_pc;
assert(_cb->as_compiled_method()->insts_contains_inclusive(_pc),
"original PC must be in the main code section of the the compiled method (or must be immediately following it)");
_deopt_state = is_deoptimized;
} else {
+ assert(_cb != NULL, "no cb 2 sp: %p usp: %p fp: %p pc: %p orig_pc: %p", sp, unextended_sp, fp, pc, original_pc);
if (_cb->is_deoptimization_stub()) {
_deopt_state = is_deoptimized;
} else {
_deopt_state = not_deoptimized;
}
< prev index next >