cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13452) Remove use of FileInputStream/FileOutputStream
Date Mon, 17 Apr 2017 11:35:41 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Brosius updated CASSANDRA-13452:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Ready to Commit)

committed to trunk as 74bdf633e9d6e03237b9b5285ce23b39d6846c3f

> Remove use of FileInputStream/FileOutputStream
> ----------------------------------------------
>
>                 Key: CASSANDRA-13452
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13452
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: 13452.txt
>
>
> FileInputStream/FileOutputStream both suffer from the fact that they implement finalize(),
which means they gum up the gc until likely a full garbage collection.
> Switch to using Files.newInputStream, Files.newOutputStream instead, which don't have
this problem



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message