hotspot/src/share/vm/c1/c1_Runtime1.cpp
changeset 35071 a0910b1d3e0d
parent 34500 3c82f7ac03e6
child 35146 9ebfec283f56
child 35216 71c463a17b3b
equal deleted inserted replaced
35066:cd4ac076bf7f 35071:a0910b1d3e0d
   500 #endif
   500 #endif
   501 
   501 
   502   // Check the stack guard pages and reenable them if necessary and there is
   502   // Check the stack guard pages and reenable them if necessary and there is
   503   // enough space on the stack to do so.  Use fast exceptions only if the guard
   503   // enough space on the stack to do so.  Use fast exceptions only if the guard
   504   // pages are enabled.
   504   // pages are enabled.
   505   bool guard_pages_enabled = thread->stack_yellow_zone_enabled();
   505   bool guard_pages_enabled = thread->stack_guards_enabled();
   506   if (!guard_pages_enabled) guard_pages_enabled = thread->reguard_stack();
   506   if (!guard_pages_enabled) guard_pages_enabled = thread->reguard_stack();
   507 
   507 
   508   if (JvmtiExport::can_post_on_exceptions()) {
   508   if (JvmtiExport::can_post_on_exceptions()) {
   509     // To ensure correct notification of exception catches and throws
   509     // To ensure correct notification of exception catches and throws
   510     // we have to deoptimize here.  If we attempted to notify the
   510     // we have to deoptimize here.  If we attempted to notify the