Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8219611

Remove superfluous sigfillset code

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10, 11, 12, 13
    • Fix Version/s: 13
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b10

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mikael Mikael Vidstedt
              Reporter:
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: