Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 94418DEE6 for ; Tue, 6 Nov 2012 15:30:20 +0000 (UTC) Received: (qmail 65699 invoked by uid 500); 6 Nov 2012 15:30:20 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 65587 invoked by uid 500); 6 Nov 2012 15:30:20 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 64744 invoked by uid 99); 6 Nov 2012 15:30:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 15:30:13 +0000 Date: Tue, 6 Nov 2012 15:30:13 +0000 (UTC) From: "Rick Curtis (JIRA)" To: dev@openjpa.apache.org Message-ID: <572222397.74709.1352215813991.JavaMail.jiratomcat@arcas> In-Reply-To: <513370990.70000.1352143692166.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (OPENJPA-2292) Reduce object allocations 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/OPENJPA-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Curtis updated OPENJPA-2292: --------------------------------- Description: While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base. * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement. * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap. was:While doing some performance analysis we have found that we can reduce object allocations in JDBCStoreManager by creating a simple pool(list) of CancelPreparedStatement/CancelStatement. Summary: Reduce object allocations (was: Reduce object allocations in JDBCStoreManager) > Reduce object allocations > ------------------------- > > Key: OPENJPA-2292 > URL: https://issues.apache.org/jira/browse/OPENJPA-2292 > Project: OpenJPA > Issue Type: Improvement > Components: jdbc, performance > Affects Versions: 2.3.0, 2.2.1, 2.2.1.x > Reporter: Rick Curtis > Assignee: Rick Curtis > Fix For: 2.3.0, 2.2.1, 2.2.1.x > > > While doing some performance analysis we have found that we can reduce object allocations a number of places in the code base. > * In JDBCStoreManager we can create a simple pool(list) of CancelPreparedStatement/CancelStatement. > * BrokerImpl.initializeOperatingSet, use a java.util.IdentityHashMap rather than org.apache.commons.collections.map.IdentityMap.IdentityMap. -- 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