OpenJPA
  1. OpenJPA
  2. OPENJPA-1517

Reduce locking in LifecycleEventManager

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta
    • Fix Version/s: 2.0.0-beta2
    • Component/s: performance
    • Labels:
      None

      Description

      In recent performance runs I found that LifecycleEventManager.hasListeners(...) is a major bottleneck when running with caching enabled. In a java core file that I was looking at there were 15 threads all waiting to enter this method.

        Activity

        Rick Curtis created issue -
        Hide
        Rick Curtis added a comment -

        All tests looked good.

        Committed revision 911194 to trunk.

        Show
        Rick Curtis added a comment - All tests looked good. Committed revision 911194 to trunk.
        Rick Curtis made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.1.0 [ 12314542 ]
        Resolution Fixed [ 1 ]
        Michael Dick made changes -
        Fix Version/s 2.0.0 [ 12314019 ]
        Fix Version/s 2.1.0 [ 12314542 ]
        Donald Woods made changes -
        Fix Version/s 2.0.0-beta2 [ 12314802 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development