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

Cleanup FileDescriptor implementation

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd_minor
    • Component/s: core-libs
    • Labels:
      None

      Description

      The Unix and Windows versions of FileDescriptor.java could be merged leaving only the native code FileDescriptor_md.c forks for the respective OS.

      Additional cleanup might simplify the native code and remove the apparent overlap between FileDescriptor.close0 and FileDescriptor.cleanupClose0.
      Note that sockets use the same method to avoid races to close when calling io_util_md.c:fileClose.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              rriggs Roger Riggs
              Reporter:
              rriggs Roger Riggs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: