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

The optimized Stream returned from Files.lines should unmap the mapped byte buffer (if created) when closed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      The optimized stream returned from Files.lines, for certain char sets, will for parallel execution map the file to a byte buffer. When the stream is closed this byte buffer should be explicit unmapped using internal JDK mechanisms.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bpb Brian Burkhalter
              Reporter:
              psandoz Paul Sandoz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: