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

(fc) FileChannel.map should ensure mapped region is backed by disk space

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • Introduced In Version:
      9
    • OS:
      linux

      Backports

        Description

        JDK-8168628 needs to be re-implemented so that RandomAccessFile.setLength does does allocate disk space and FileChannel.map does the correct thing to ensure that the region to be mapped is backed by disk space.

        More discussion on this topic here:
        http://mail.openjdk.java.net/pipermail/nio-dev/2018-April/005008.html

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alanb Alan Bateman
                  Reporter:
                  alanb Alan Bateman
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: