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

dbgsysSocketClose - do not restart close if errno is EINTR [linux]

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: core-svc
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        In dbgsysSocketClose (socket_md.c) currently in case of EINTR there is an attempt to restart close.

        However, the close() call is not restartable on Linux.

        See also https://bugs.openjdk.java.net/browse/JDK-8205959
        Do not restart close if errno is EINTR, for a similar fix.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbaesken Matthias Baesken
                  Reporter:
                  mbaesken Matthias Baesken
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: