OpenJPA
  1. OpenJPA
  2. OPENJPA-2143

Reduce lock contention on LifecycleEventManager

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.3.0
    • Fix Version/s: 2.2.1, 2.3.0
    • Component/s: kernel
    • Labels:
      None

      Description

      Profiles have shown the synchronization pattern used on LifecycleEventManager diversely affects performance on multi-core systems. I'll be providing a fix that has shown to reduce lock contention on this class.

        Activity

        Hide
        Jeremy Bauer added a comment -

        New benchmarks have shown these changes to cause lock contention. Reopening to revert changes.

        Show
        Jeremy Bauer added a comment - New benchmarks have shown these changes to cause lock contention. Reopening to revert changes.
        Hide
        Jeremy Bauer added a comment -

        Reverted back to previous code in 2.2.x and trunk.

        Show
        Jeremy Bauer added a comment - Reverted back to previous code in 2.2.x and trunk.

          People

          • Assignee:
            Jeremy Bauer
            Reporter:
            Jeremy Bauer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:

              Development