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 Mon, 11 Mar 2013 15:41:13 GMT

    [ 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

Mime
View raw message