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/15 23:43:41 UTC

[jira] [Created] (CASSANDRA-13452) Remove use of FileInputStream/FileOutputStream

Dave Brosius created CASSANDRA-13452:
----------------------------------------

             Summary: 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


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)