8294197: Zero: JVM_handle_linux_signal should not assume deopt NOPs

Reviewed-by: coleenp
This commit is contained in:
Aleksey Shipilev 2022-09-22 14:51:12 +00:00
parent 4a6060ba2c
commit f751e6087d

View File

@ -624,6 +624,7 @@ int JVM_HANDLE_XXX_SIGNAL(int sig, siginfo_t* info,
signal_was_handled = true; // unconditionally.
}
#ifndef ZERO
// Check for UD trap caused by NOP patching.
// If it is, patch return address to be deopt handler.
if (!signal_was_handled) {
@ -648,6 +649,7 @@ int JVM_HANDLE_XXX_SIGNAL(int sig, siginfo_t* info,
}
}
}
#endif // !ZERO
// Call platform dependent signal handler.
if (!signal_was_handled) {