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

FileInput/OutputStream/FileChannel cleanup should be improved

    Details

    • Resolved In Build:
      b36

      Description

      FileInputStream relies on finalization to perform final closes if the FIS is not already closed.
      This results in extra work for GC that occurs in a burst. The cleanup of FileInputStreams
      should happen sooner and not contribute to overhead in GC.
      With PhantomReferences a lightweight cleanup mechanism or other suitable mechanism could be implemented.

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: