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

Andrew Purtell commented on HBASE-12023:
----------------------------------------

Can we add a test somewhere out of hot code that checks for ? extends ArrayList 
or similar and throws a runtime exception if not? That's not ideal like static 
type checking but would document the expectation and cause all kinds of issues 
if violated. Or an assertion, but asserts can be turned off.

> HRegion.applyFamilyMapToMemstore creates too many iterator objects...
> ---------------------------------------------------------------------
>
>                 Key: HBASE-12023
>                 URL: https://issues.apache.org/jira/browse/HBASE-12023
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.98.5, 0.94.23
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>            Priority: Minor
>             Fix For: 0.94.24
>
>         Attachments: HBASE-12023-0.94.patch, HBASE-12023.patch, 
> applyFamilyMapToMemstore (1).tiff
>
>
> for ... loop (creates iterator) inside another for loop. Produces a lot of 
> garbage. See attached picture.



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

Reply via email to