mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 18:03:44 +00:00
8267213: cpuinfo_segv is incorrectly triaged as execution protection violation on x86_32
Reviewed-by: dholmes
This commit is contained in:
parent
66b190e1e7
commit
b403d39908
@ -551,6 +551,7 @@ bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
|
||||
// the si_code for this condition may change in the future.
|
||||
// Furthermore, a false-positive should be harmless.
|
||||
if (UnguardOnExecutionViolation > 0 &&
|
||||
stub == NULL &&
|
||||
(sig == SIGSEGV || sig == SIGBUS) &&
|
||||
uc->context_trapno == trap_page_fault) {
|
||||
int page_size = os::vm_page_size();
|
||||
|
||||
@ -343,6 +343,7 @@ bool PosixSignals::pd_hotspot_signal_handler(int sig, siginfo_t* info,
|
||||
// the si_code for this condition may change in the future.
|
||||
// Furthermore, a false-positive should be harmless.
|
||||
if (UnguardOnExecutionViolation > 0 &&
|
||||
stub == NULL &&
|
||||
(sig == SIGSEGV || sig == SIGBUS) &&
|
||||
uc->uc_mcontext.gregs[REG_TRAPNO] == trap_page_fault) {
|
||||
int page_size = os::vm_page_size();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user