You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2013/03/11 16:41:13 UTC
[jira] [Resolved] (OPENJPA-2346) Optimize
MetaDataRepository.getMetaDataInternal
[ https://issues.apache.org/jira/browse/OPENJPA-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick Curtis resolved OPENJPA-2346.
----------------------------------
Resolution: Fixed
Committed changes to 2.2.x and 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