You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/03/05 17:11:15 UTC

[jira] [Commented] (OPENJPA-2346) Optimize MetaDataRepository.getMetaDataInternal

    [ 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