--- a/hotspot/src/share/vm/c1/c1_Runtime1.cpp Fri Dec 11 13:18:10 2015 +0000
+++ b/hotspot/src/share/vm/c1/c1_Runtime1.cpp Fri Dec 11 09:07:07 2015 -0800
@@ -502,7 +502,7 @@
// Check the stack guard pages and reenable them if necessary and there is
// enough space on the stack to do so. Use fast exceptions only if the guard
// pages are enabled.
- bool guard_pages_enabled = thread->stack_yellow_zone_enabled();
+ bool guard_pages_enabled = thread->stack_guards_enabled();
if (!guard_pages_enabled) guard_pages_enabled = thread->reguard_stack();
if (JvmtiExport::can_post_on_exceptions()) {