hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 28039 bf5a8340bf8a
parent 27883 3179632c8f66
child 28947 2ea471384931
--- a/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Fri Dec 05 15:16:01 2014 +0100
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.cpp	Tue Nov 25 17:33:59 2014 +0100
@@ -456,6 +456,7 @@
 
 address SharedRuntime::raw_exception_handler_for_return_address(JavaThread* thread, address return_address) {
   assert(frame::verify_return_pc(return_address), err_msg("must be a return address: " INTPTR_FORMAT, return_address));
+  assert(thread->frames_to_pop_failed_realloc() == 0 || Interpreter::contains(return_address), "missed frames to pop?");
 
   // Reset method handle flag.
   thread->set_is_method_handle_return(false);