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.

        Issue Links

          Activity

          rriggs Roger Riggs created issue -
          rriggs Roger Riggs made changes -
          Field Original Value New Value
          Fix Version/s tbd_major [ 11972 ]
          rriggs Roger Riggs made changes -
          Assignee Roger Riggs [ rriggs ]
          rriggs Roger Riggs made changes -
          Status New [ 10000 ] Open [ 1 ]
          kbarrett Kim Barrett made changes -
          Link This issue relates to JDK-8071507 [ JDK-8071507 ]
          alanb Alan Bateman made changes -
          Issue Type Bug [ 1 ] Enhancement [ 7 ]
          Subcomponent java.io [ 244 ]
          Affects Version/s 8 [ 11815 ]
          rriggs Roger Riggs made changes -
          Link This issue csr for JDK-8187325 [ JDK-8187325 ]
          rriggs Roger Riggs made changes -
          Link This issue relates to JDK-8187631 [ JDK-8187631 ]
          rriggs Roger Riggs made changes -
          Summary FileInputStream cleanup should be improved. FileInput/OutputStream cleanup should be improved
          rriggs Roger Riggs made changes -
          Link This issue relates to CODETOOLS-7902045 [ CODETOOLS-7902045 ]
          rriggs Roger Riggs made changes -
          Link This issue relates to JDK-8189330 [ JDK-8189330 ]
          rriggs Roger Riggs made changes -
          Fix Version/s 10 [ 16302 ]
          Fix Version/s tbd_major [ 11972 ]
          rriggs Roger Riggs made changes -
          Link This issue relates to BKLG-1092 [ BKLG-1092 ]
          rriggs Roger Riggs made changes -
          Summary FileInput/OutputStream cleanup should be improved FileInput/OutputStream/FileChannel cleanup should be improved
          rriggs Roger Riggs made changes -
          Labels finalizer
          rriggs Roger Riggs made changes -
          Labels finalizer finalizer release-note=yes
          hgupdate HG Updates made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolved In Build master [ 18256 ]
          Resolution Fixed [ 1 ]
          hgupdate HG Updates made changes -
          Resolved In Build master [ 18256 ] b36 [ 17434 ]
          rriggs Roger Riggs made changes -
          Link This issue relates to JDK-8194929 [ JDK-8194929 ]

            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: