< prev index next >
src/hotspot/share/runtime/sharedRuntime.cpp
Print this page
rev 50307 : [mq]: cont
*** 527,536 ****
--- 527,537 ----
guarantee(!VtableStubs::contains(return_address), "NULL exceptions in vtables should have been handled already!");
#ifndef PRODUCT
{ ResourceMark rm;
tty->print_cr("No exception handler found for exception at " INTPTR_FORMAT " - potential problems:", p2i(return_address));
+ os::print_location(tty, (intptr_t)return_address);
tty->print_cr("a) exception happened in (new?) code stubs/buffers that is not handled here");
tty->print_cr("b) other problem");
}
#endif // PRODUCT
*** 2956,2965 ****
--- 2957,2975 ----
// results
*arg_size = cnt;
return regs;
}
+ JRT_LEAF(jlong, SharedRuntime::continuation_getFP(JavaThread* thread) )
+ RegisterMap reg_map2(thread);
+ assert(false, "");
+ frame stubFrame = thread->last_frame();
+ // Caller-frame is a compiled frame
+ frame callerFrame = stubFrame.sender(®_map2);
+ return (jlong) callerFrame.real_fp();
+ JRT_END
+
// OSR Migration Code
//
// This code is used convert interpreter frames into compiled frames. It is
// called from very start of a compiled OSR nmethod. A temp array is
// allocated to hold the interesting bits of the interpreter frame. All
< prev index next >