mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
This commit is contained in:
parent
f6440f7fb1
commit
ef800bd53f
69 changed files with 987 additions and 64 deletions
|
@ -502,7 +502,7 @@ JRT_ENTRY_NO_ASYNC(static address, exception_handler_for_pc_helper(JavaThread* t
|
|||
// 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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue