[
https://issues.apache.org/jira/browse/HBASE-12748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907519#comment-14907519
]
Lars Hofhansl commented on HBASE-12748:
---------------------------------------
+1
Super minor nit: {{this.list = Collections.unmodifiableList(new
ArrayList<E>());}} == {{this.list = Collections.emptyList();}}
Want me to do a local perf run with it?
> RegionCoprocessorHost.execOperation creates too many iterator objects
> ---------------------------------------------------------------------
>
> Key: HBASE-12748
> URL: https://issues.apache.org/jira/browse/HBASE-12748
> Project: HBase
> Issue Type: Sub-task
> Affects Versions: 0.94.25, 0.98.9
> Reporter: Vladimir Rodionov
> Assignee: Andrew Purtell
> Fix For: 2.0.0, 1.3.0, 0.98.15
>
> Attachments: HBASE-12748.patch, HBASE-12748.patch, HBase-12748.patch
>
>
> This is typical pattern of enhanced for ... loop usage in a hot code path.
> For every HBase operation it instantiates iterator for coprocessor list
> twice.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)