[
https://issues.apache.org/jira/browse/FLINK-9675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321580#comment-17321580
]
Flink Jira Bot commented on FLINK-9675:
---------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Avoid FileInputStream/FileOutputStream
> --------------------------------------
>
> Key: FLINK-9675
> URL: https://issues.apache.org/jira/browse/FLINK-9675
> Project: Flink
> Issue Type: Improvement
> Components: FileSystems
> Affects Versions: 1.4.1, 1.4.2, 1.5.1
> Reporter: Ted Yu
> Assignee: zhangminglei
> Priority: Minor
> Labels: filesystem, pull-request-available, stale-minor
>
> 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.
> And here is a benchmark
> https://arnaudroger.github.io/blog/2017/03/20/faster-reader-inpustream-in-java.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)