8254824: SignalHandlerMark have no purpose

Reviewed-by: stuefe, shade, dholmes, coleenp
This commit is contained in:
Robbin Ehn 2020-10-19 06:28:47 +00:00
parent 736e077335
commit 011dd0d8fa
11 changed files with 15 additions and 49 deletions

View file

@ -199,8 +199,6 @@ JVM_handle_linux_signal(int sig,
Thread* t = Thread::current_or_null_safe();
SignalHandlerMark shm(t);
// Note: it's not uncommon that JNI code uses signal/sigset to install
// then restore certain signal handler (e.g. to temporarily block SIGPIPE,
// or have a SIGILL handler when detecting CPU type). When that happens,