Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B92510B7D for ; Mon, 6 May 2013 19:22:20 +0000 (UTC) Received: (qmail 35489 invoked by uid 500); 6 May 2013 19:22:17 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 35434 invoked by uid 500); 6 May 2013 19:22:17 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 35051 invoked by uid 99); 6 May 2013 19:22:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 19:22:16 +0000 Date: Mon, 6 May 2013 19:22:16 +0000 (UTC) From: "Dave Brosius (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-5541) Reduce Empty Map allocations in RowMutation (modifications) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dave Brosius created CASSANDRA-5541: --------------------------------------- Summary: Reduce Empty Map allocations in RowMutation (modifications) Key: CASSANDRA-5541 URL: https://issues.apache.org/jira/browse/CASSANDRA-5541 Project: Cassandra Issue Type: Improvement Components: Core Affects Versions: 2.0 Reporter: Dave Brosius Assignee: Dave Brosius Priority: Trivial Fix For: 2.0 The constructor public RowMutation(String table, ByteBuffer key) was generation tons of empty HashMaps that were unused, on the order of 160,000 of them in about a minute. delay creating the map until you need it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira