OpenJPA
  1. OpenJPA
  2. OPENJPA-2346

Optimize MetaDataRepository.getMetaDataInternal

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.2, 2.3.0
    • Fix Version/s: 2.2.2, 2.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        ASF subversion and git services added a comment -

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

        OPENJPA-2346: Minor performance improvement to MetaDataRepository.

        Show
        ASF subversion and git services added a comment - Commit 1452872 from curtisr7 [ https://svn.apache.org/r1452872 ] OPENJPA-2346 : Minor performance improvement to MetaDataRepository.
        Hide
        ASF subversion and git services added a comment -

        Commit 1455189 from curtisr7
        [ https://svn.apache.org/r1455189 ]

        OPENJPA-2346 : Minor performance improvement to MetaDataRepository. Merged from trunk.

        Show
        ASF subversion and git services added a comment - Commit 1455189 from curtisr7 [ https://svn.apache.org/r1455189 ] OPENJPA-2346 : Minor performance improvement to MetaDataRepository. Merged from trunk.
        Hide
        Rick Curtis added a comment -

        Committed changes to 2.2.x and trunk.

        Show
        Rick Curtis added a comment - Committed changes to 2.2.x and trunk.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development