src/cpu/x86/vm/c1_LIRAssembler_x86.cpp

Print this page

        

@@ -596,10 +596,14 @@
   }
 
   // Pop the stack before the safepoint code
   __ remove_frame(initial_frame_size_in_bytes());
 
+  if (StackReservedPages > 0 && compilation()->has_reserved_stack_access()) {
+    __ reserved_stack_check();  
+  }
+  
   bool result_is_oop = result->is_valid() ? result->is_oop() : false;
 
   // Note: we do not need to round double result; float result has the right precision
   // the poll sets the condition code, but no data registers
   AddressLiteral polling_page(os::get_polling_page(), relocInfo::poll_return_type);