[ https://issues.apache.org/jira/browse/HDDS-2464?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-2464: --------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Minor > Labels: pull-request-available > > {{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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org