[ 
https://issues.apache.org/jira/browse/HDFS-9201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945141#comment-14945141
 ] 

Rushabh S Shah commented on HDFS-9201:
--------------------------------------

[~nijel]: I think this jira is about extra garbage created with iterator.
Can you please post the statistics about  the reduction in garbage ?

> Namenode Performance Improvement : Using for loop without iterator
> ------------------------------------------------------------------
>
>                 Key: HDFS-9201
>                 URL: https://issues.apache.org/jira/browse/HDFS-9201
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: nijel
>            Assignee: nijel
>              Labels: namenode, performance
>         Attachments: HDFS-9201_draft.patch
>
>
> As discussed in HBASE-12023, the for each loop syntax will create few extra 
> objects and garbage.
> For arrays and Lists can change to the traditional syntax. 
> This can improve memory foot print and can result in performance gain.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to