You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bahir.apache.org by "Luciano Resende (Jira)" <ji...@apache.org> on 2019/09/03 00:03:00 UTC

[jira] [Resolved] (BAHIR-172) Avoid FileInputStream/FileOutputStream

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

Luciano Resende resolved BAHIR-172.
-----------------------------------
    Fix Version/s: Spark-2.4.0
       Resolution: Fixed

> Avoid FileInputStream/FileOutputStream
> --------------------------------------
>
>                 Key: BAHIR-172
>                 URL: https://issues.apache.org/jira/browse/BAHIR-172
>             Project: Bahir
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>             Fix For: Spark-2.4.0
>
>
> They rely on finalizers (before Java 11), which create unnecessary GC load.
> The alternatives, {{Files.newInputStream}}, are as easy to use and don't have this issue.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)