You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2017/04/16 23:08:42 UTC
[jira] [Commented] (CASSANDRA-13452) Remove use of
FileInputStream/FileOutputStream
[ https://issues.apache.org/jira/browse/CASSANDRA-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970547#comment-15970547 ]
Dave Brosius commented on CASSANDRA-13452:
------------------------------------------
i assume those dtest failures are unrelated, eh?
> 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)