hotspot/src/share/vm/jvmci/jvmciRuntime.cpp
changeset 35135 dd2ce9021031
parent 35123 b0b89d83bcf5
parent 35071 a0910b1d3e0d
child 35143 33daaea9d5c2
equal deleted inserted replaced
35134:dbf1c77ae372 35135:dd2ce9021031
   246 #endif
   246 #endif
   247 
   247 
   248   // Check the stack guard pages and reenable them if necessary and there is
   248   // Check the stack guard pages and reenable them if necessary and there is
   249   // enough space on the stack to do so.  Use fast exceptions only if the guard
   249   // enough space on the stack to do so.  Use fast exceptions only if the guard
   250   // pages are enabled.
   250   // pages are enabled.
   251   bool guard_pages_enabled = thread->stack_yellow_zone_enabled();
   251   bool guard_pages_enabled = thread->stack_guards_enabled();
   252   if (!guard_pages_enabled) guard_pages_enabled = thread->reguard_stack();
   252   if (!guard_pages_enabled) guard_pages_enabled = thread->reguard_stack();
   253 
   253 
   254   if (JvmtiExport::can_post_on_exceptions()) {
   254   if (JvmtiExport::can_post_on_exceptions()) {
   255     // To ensure correct notification of exception catches and throws
   255     // To ensure correct notification of exception catches and throws
   256     // we have to deoptimize here.  If we attempted to notify the
   256     // we have to deoptimize here.  If we attempted to notify the