Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0ABE11388 for ; Fri, 19 Sep 2014 17:02:34 +0000 (UTC) Received: (qmail 16251 invoked by uid 500); 19 Sep 2014 17:02:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 16208 invoked by uid 500); 19 Sep 2014 17:02:34 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 16193 invoked by uid 99); 19 Sep 2014 17:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2014 17:02:34 +0000 Date: Fri, 19 Sep 2014 17:02:34 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12023) HRegion.applyFamilyMapToMemstore creates too many iterator objects... MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14140878#comment-14140878 ] Lars Hofhansl commented on HBASE-12023: --------------------------------------- What about my comment about not being able to guarantee that the lists passed around are not guaranteed to be random accessible? Not a problem, because they just happen to be (in Mutation they are ArrayLists)? > 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)