OpenJPA
  1. OpenJPA
  2. OPENJPA-1421

Reduce lock contention in JDBCStoreManager

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 1.3.0
    • Fix Version/s: 1.2.2, 1.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      When testing on a high end machine, we found a bottleneck in calling JDBCStoreManager.getCacheMapFromQuerySQLCache(...). To fix the problem, had each caller will hold onto the cacheMap that is returned from getCacheMapFromQuerySQLCache(...) rather than call it multiple times.

        Activity

        Hide
        Rick Curtis added a comment -

        >trunk should not have this method at all.

        Correct.

        Show
        Rick Curtis added a comment - >trunk should not have this method at all. Correct.
        Hide
        Pinaki Poddar added a comment -

        > This problem does not exist on trunk.
        trunk should not have this method at all.

        Show
        Pinaki Poddar added a comment - > This problem does not exist on trunk. trunk should not have this method at all.
        Hide
        Rick Curtis added a comment -

        Committed changes to 1.2.x and 1.3.x. This problem does not exist on trunk.

        Show
        Rick Curtis added a comment - Committed changes to 1.2.x and 1.3.x. This problem does not exist on 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