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

(fc, fs) Move filesystem-related native objects from libnio to libjava

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • tbd
    • 24
    • core-libs
    • In Review
    • linux, os_x, windows

      The libnio native library contains the native objects specific to NIO. These objects fall generally into the two categories of those used with the file system and those used with networking. If the java.io file access classes FileInputStream, FileOutputStream, and RandomAccessFile were to be reimplemented on top of NIO, specifically using FileChannel, this would incur the cost of loading the libnio native library. If the subset of libnio required for this purpose were moved to the libjava native library this cost would be eliminated. Also, it would advance the effort eventually to dispense with libnio altogether.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: