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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        13m 57s 1 Rick Curtis 08/Dec/09 18:59
        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.
        Rick Curtis made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        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.
        Rick Curtis created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development