--- old/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp 2015-12-01 16:57:14.859935193 +0100 +++ new/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp 2015-12-01 16:57:14.688918051 +0100 @@ -598,6 +598,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