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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development