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 5F68EEB0D for ; Mon, 11 Mar 2013 15:41:14 +0000 (UTC) Received: (qmail 21326 invoked by uid 500); 11 Mar 2013 15:41:14 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 21127 invoked by uid 500); 11 Mar 2013 15:41:13 -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 21067 invoked by uid 99); 11 Mar 2013 15:41:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Mar 2013 15:41:13 +0000 Date: Mon, 11 Mar 2013 15:41:13 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-2346) Optimize MetaDataRepository.getMetaDataInternal 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-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598906#comment-13598906 ] ASF subversion and git services commented on OPENJPA-2346: ---------------------------------------------------------- Commit 1455189 from curtisr7 [ https://svn.apache.org/r1455189 ] OPENJPA-2346 : Minor performance improvement to MetaDataRepository. Merged from trunk. > Optimize MetaDataRepository.getMetaDataInternal > ----------------------------------------------- > > Key: OPENJPA-2346 > URL: https://issues.apache.org/jira/browse/OPENJPA-2346 > Project: OpenJPA > Issue Type: Improvement > Components: kernel > Affects Versions: 2.3.0, 2.2.2 > Reporter: Rick Curtis > Assignee: Rick Curtis > Priority: Minor > Fix For: 2.3.0, 2.2.2 > > > While profiling our code, I found that in MetaDataRepository.getMetaDataInternal(...) we make a number of extra calls for rarely used features (RuntimeUnenhancedClasses and ManagedInterfaces). I am going to refactor this method to favor the main line path and not the exception-ish cases. -- 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