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/05 16:13:13 UTC

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

Rick Curtis created OPENJPA-2346:
------------------------------------

             Summary: 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