OpenJPA
  1. OpenJPA
  2. OPENJPA-1172

Use java.util.concurrent.ConcurrentHashMap rather than a synchronized HashMap in ClassMapping.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.2, 1.3.0, 2.0.0-beta
    • Component/s: performance
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      A performance run shows improved scalability when using the java.util.concurrent.ConcurrentHashMap in org.apache.openjpa.jdbc.meta.ClassMapping.

      This issue is a child of OPENJPA-1118.

        Activity

        Hide
        Michael Dick added a comment -

        Thanks for the patch Rick, I've updated the performance sandbox with this change - pending testing it will be moved to other branches.

        Show
        Michael Dick added a comment - Thanks for the patch Rick, I've updated the performance sandbox with this change - pending testing it will be moved to other branches.
        Hide
        Rick Curtis added a comment -

        Changes committed to 1.2.x, 1.3.x, and trunk.

        Show
        Rick Curtis added a comment - Changes committed to 1.2.x, 1.3.x, and trunk.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development