hotspot/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp
changeset 35071 a0910b1d3e0d
parent 34200 0a24709c3861
child 35146 9ebfec283f56
--- a/hotspot/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Fri Dec 11 13:18:10 2015 +0000
+++ b/hotspot/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Fri Dec 11 09:07:07 2015 -0800
@@ -518,6 +518,10 @@
   // 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