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 -
        jrbauer committed 1293399 (1 file)
        Jeremy Bauer made changes -
        Field Original Value New Value
        Summary Reduce lock contention on LifeCycleEventManager Reduce lock contention on LifecycleEventManager
        jrbauer committed 1293402 (1 file)
        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 ]
        jrbauer committed 1297989 (1 file)
        jrbauer committed 1298000 (1 file)
        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 ]

          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