8294197: Zero: JVM_handle_linux_signal should not assume deopt NOPs
Reviewed-by: coleenp
This commit is contained in:
parent
4a6060ba2c
commit
f751e6087d
@ -624,6 +624,7 @@ int JVM_HANDLE_XXX_SIGNAL(int sig, siginfo_t* info,
|
|||||||
signal_was_handled = true; // unconditionally.
|
signal_was_handled = true; // unconditionally.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef ZERO
|
||||||
// Check for UD trap caused by NOP patching.
|
// Check for UD trap caused by NOP patching.
|
||||||
// If it is, patch return address to be deopt handler.
|
// If it is, patch return address to be deopt handler.
|
||||||
if (!signal_was_handled) {
|
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.
|
// Call platform dependent signal handler.
|
||||||
if (!signal_was_handled) {
|
if (!signal_was_handled) {
|
||||||
|
Loading…
Reference in New Issue
Block a user