Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3723

Remove contention point on TransactionManager#transactionManager

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.CR1
    • 5.13.0
    • JTA
    • None

      The performance team, especially jwhiting@redhat.com , have been profiling a workload which is heavily using Narayana and Hibernate; while doing so we shared performance metrics for analysis and we figured that the following method is causing locking contention as it's heavily used and marked as `synchronized`:

      com.arjuna.ats.jta.TransactionManager#transactionManager

      Interestingly, it seems that this synchronization is actually unnecessary. I might be wrong, but I'll send a PR to test and discuss further.

            sgrinove Sanne Grinovero
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: