Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2251

ThreadlocalPool.discard() memory leak when exception thrown from bean method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • depchain-1.0.5
    • depchain-1.0.4
    • core
    • None

      ThreadlocalPool internally uses an InfinitePool and the InfinitePool.discard() method doesn't remove the ctx from its LinkedList active field properly thus memory leaked when an exception is thrown from bean method.

      Need to fix InfinitePool.discard() method.

              rhn-support-bmaxwell Brad Maxwell
              rhn-support-tkimura Takayoshi Kimura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: