Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1548

Miscellaneous ClassMetaData performance improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta3
    • performance
    • None

    Description

      When doing some performance testing I found that I was able to marginally improve performance by refactoring a couple methods in ClassMetaData to allow the JVM to better optimize code paths.

      Also, I found that we calculate the hash code every time ClassMetaData.hashCode is called, but it will never change.

      Attachments

        1. OPENJPA-1548.test.patch
          4 kB
          Richard G. Curtis

        Activity

          People

            curtisr7 Richard G. Curtis
            curtisr7 Richard G. Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: