openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2346) Optimize MetaDataRepository.getMetaDataInternal
Date Tue, 05 Mar 2013 16:11:15 GMT

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

ASF subversion and git services commented on OPENJPA-2346:
----------------------------------------------------------

Commit 1452872 from curtisr7
[ https://svn.apache.org/r1452872 ]

OPENJPA-2346: Minor performance improvement to MetaDataRepository.
                
> 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

Mime
View raw message