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

Miscellaneous ClassMetaData performance improvements

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta3
    • Component/s: performance
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: