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

        Jeremy Bauer created issue -
        Jeremy Bauer made changes -
        Field Original Value New Value
        Summary Reduce lock contention on LifeCycleEventManager Reduce lock contention on LifecycleEventManager
        Jeremy Bauer made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3.0 [ 12319463 ]
        Fix Version/s 2.2.1 [ 12319943 ]
        Resolution Fixed [ 1 ]
        Jeremy Bauer made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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.
        Jeremy Bauer made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        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.
        Jeremy Bauer made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jeremy Bauer made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 4m 1 Jeremy Bauer 24/Feb/12 20:36
        Closed Closed Reopened Reopened
        11d 18h 31m 1 Jeremy Bauer 07/Mar/12 15:08
        Reopened Reopened Resolved Resolved
        53m 8s 1 Jeremy Bauer 07/Mar/12 16:01
        Resolved Resolved Closed Closed
        19s 2 Jeremy Bauer 07/Mar/12 16:01

          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