2 This fixes the following frequently seen warning
4 SIGSEGV happened inside stack but outside yellow and red zone.
6 diff --git a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
7 index c5a72c791..9d9ab5618 100644
8 --- a/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
9 +++ b/src/hotspot/os_cpu/solaris_x86/os_solaris_x86.cpp
10 @@ -292,8 +292,11 @@ bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
11 // Handle ALL stack overflow variations here
12 if (sig == SIGSEGV && info->si_code == SEGV_ACCERR) {
13 address addr = (address) info->si_addr;
14 - if (os::Posix::handle_stack_overflow(thread, addr, pc, uc, &stub)) {
15 - return 1; // continue
16 + if (thread->is_in_full_stack(addr)) {
18 + if (os::Posix::handle_stack_overflow(thread, addr, pc, uc, &stub)) {
19 + return true; // continue