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

Memory leak in TransactionReaper._timeouts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.4.CR1
    • 4.3.0.GA
    • Transaction Core
    • None

      The leak can also be seen by using the debugger to check the number of entries in TransactionReaper._timeouts after a couple of transactions.
      It appears that the TransactionReaper.insert method uses ControlWrapper objects as keys when putting elements into the hashtable, but the TransactionReaper.remove method sometimes unsuccessfully tries to use Uid ojbects to remove them.

      I will post a corrected version of TransactionReaper.java.

        1. OTSManager.java
          9 kB
        2. PseudoControlWrapper.java
          7 kB
        3. TransactionReaper.java
          35 kB
        4. TransactionReaper.zip
          8 kB

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

              Created:
              Updated:
              Resolved: