mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-30 12:50:11 +00:00
8254722: bsd_zero builds broken after JDK-8253717
Reviewed-by: dholmes
This commit is contained in:
parent
ba5dc67a74
commit
d50e0de8fb
@ -172,13 +172,14 @@ JVM_handle_bsd_signal(int sig,
|
||||
|
||||
// check if fault address is within thread stack
|
||||
if (thread->is_in_full_stack(addr)) {
|
||||
StackOverflow* overflow_state = thread->stack_overflow_state();
|
||||
// stack overflow
|
||||
if (thread->in_stack_yellow_reserved_zone(addr)) {
|
||||
thread->disable_stack_yellow_reserved_zone();
|
||||
if (overflow_state->in_stack_yellow_reserved_zone(addr)) {
|
||||
overflow_state->disable_stack_yellow_reserved_zone();
|
||||
ShouldNotCallThis();
|
||||
}
|
||||
else if (thread->in_stack_red_zone(addr)) {
|
||||
thread->disable_stack_red_zone();
|
||||
else if (overflow_state->in_stack_red_zone(addr)) {
|
||||
overflow_state->disable_stack_red_zone();
|
||||
ShouldNotCallThis();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user