hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 28039 bf5a8340bf8a
parent 27883 3179632c8f66
child 28947 2ea471384931
equal deleted inserted replaced
28038:76e7ca4c8b6e 28039:bf5a8340bf8a
   454 // The continuation address is the entry point of the exception handler of the
   454 // The continuation address is the entry point of the exception handler of the
   455 // previous frame depending on the return address.
   455 // previous frame depending on the return address.
   456 
   456 
   457 address SharedRuntime::raw_exception_handler_for_return_address(JavaThread* thread, address return_address) {
   457 address SharedRuntime::raw_exception_handler_for_return_address(JavaThread* thread, address return_address) {
   458   assert(frame::verify_return_pc(return_address), err_msg("must be a return address: " INTPTR_FORMAT, return_address));
   458   assert(frame::verify_return_pc(return_address), err_msg("must be a return address: " INTPTR_FORMAT, return_address));
       
   459   assert(thread->frames_to_pop_failed_realloc() == 0 || Interpreter::contains(return_address), "missed frames to pop?");
   459 
   460 
   460   // Reset method handle flag.
   461   // Reset method handle flag.
   461   thread->set_is_method_handle_return(false);
   462   thread->set_is_method_handle_return(false);
   462 
   463 
   463   // The fastest case first
   464   // The fastest case first