hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12096) In ZKSplitLog Coordination and AggregateImplementation replace enhaced for statements with basic for statement to avoid unnecessary object allocation
Date Fri, 26 Sep 2014 18:21:34 GMT

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

Ted Yu commented on HBASE-12096:
--------------------------------

Putting a breakpoint inside ZKUtil reveals that ArrayList is returned.

+1 on patch

> In ZKSplitLog Coordination and AggregateImplementation replace enhaced for statements
with basic for statement to avoid unnecessary object allocation
> -----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-12096
>                 URL: https://issues.apache.org/jira/browse/HBASE-12096
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Ashish Singhi
>            Assignee: Ashish Singhi
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12096.patch
>
>
> In ZKSplitLog Coordination classes and AggregateImplementation replace enhanced for statements
with basic for statement to avoid unnecessary object allocation



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

Mime
View raw message