JDK-8219611 : Remove superfluous sigfillset code
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 10,11,12,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-02-23
  • Updated: 2019-02-28
  • Resolved: 2019-02-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b10Fixed
Related Reports
Relates :  
Description
As part of JDK-8190308 the following code was added to os_posix.cpp (in os::create_file_for_heap):

48153:   sigset_t set, oldset;
48153:   int ret = sigfillset(&set);
48153:   assert_with_errno(ret == 0, "sigfillset returned error");

The "set" and "oldset" variables are not used later in the function, and sigfillset only affects the "set" variable, so this code is effectively a no-op.