Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/hotspot/os/posix/signals_posix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,12 @@ static void jdk_misc_signal_init() {
}

void os::signal_notify(int sig) {
// Signal thread is not created with ReduceSignalUsage and jdk_misc_signal_init
// initialization isn't called. This code is also never called.
assert(!ReduceSignalUsage, "Should not reach here if ReduceSignalUsage is set");

// Signal thread is not created with ReduceSignalUsage and jdk_misc_signal_init
// initialization isn't called.
if (!ReduceSignalUsage) {
AtomicAccess::inc(&pending_signals[sig]);
sig_semaphore->signal();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this makes sense because the old code did get there:
680414d#diff-810ea508a8b69c83a17b3f641ac67d9b571324e0a7d66426e4a18580413b3d9aL172-L361

}

static int check_pending_signals() {
Expand Down
2 changes: 0 additions & 2 deletions test/jdk/ProblemList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -743,8 +743,6 @@ sun/tools/jstatd/TestJstatdRmiPort.java 8251259,8293577
jdk/incubator/vector/ShortMaxVectorTests.java 8306592 generic-i586
jdk/incubator/vector/LoadJsvmlTest.java 8305390 windows-x64

sun/misc/SunMiscSignalTest.java 8370207 generic-all

############################################################################

# jdk_jfr
Expand Down