equal
deleted
inserted
replaced
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 |