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

TransactionReaper code is not waking up threads correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.7.0, 4.6.1.CP01
    • 4.6.1
    • None
    • None

      The code in TransactionReaper is using wait and notify to suspend and wake up threads contending to add and remove transaction controls and to manage transfer of expired controls between the main queue and the reaper worker queue. It should actually be calling notifyAll() since notify() only wakes up one thread and multiple threads may be queued. All occurences of calls to notify() need to be transformed to notifyAll().

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: