Attila Doroszlai created HDDS-2464: -------------------------------------- Summary: Avoid unnecessary allocations for FileChannel.open call Key: HDDS-2464 URL: https://issues.apache.org/jira/browse/HDDS-2464 Project: Hadoop Distributed Data Store Issue Type: Improvement Components: Ozone Datanode Reporter: Attila Doroszlai Assignee: Attila Doroszlai
{{ChunkUtils}} calls {{FileChannel#open(Path, OpenOption...)}}. Vararg array elements are then added to a new {{HashSet}} to call {{FileChannel#open(Path, Set<? extends OpenOption>, FileAttribute<?>...)}}. We can call the latter directly instead. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org