Petals CDK

Memory leak because the JBIAcceptorManager.acceptorPool is not freed

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 5.1.3
  • Fix Version/s: 5.1.4, 5.3.0
  • Component/s: runtime
  • Security Level: Public
  • Description:
    Hide

    JBIAcceptorManager manages it acceptor thread pool using a ThreadPoolExecutor. ThreadPoolExecutor is designed to dispatch tasks to threads. The task are finished in the time.
    But JBIAcceptorManager does not used tasks. It uses the ThreadFactory to create it's own thread, with its own method 'run'.

    So this thread pool MUST be refactored to be a real thread pool (for example, as an array of threads)

    Show
    JBIAcceptorManager manages it acceptor thread pool using a ThreadPoolExecutor. ThreadPoolExecutor is designed to dispatch tasks to threads. The task are finished in the time. But JBIAcceptorManager does not used tasks. It uses the ThreadFactory to create it's own thread, with its own method 'run'. So this thread pool MUST be refactored to be a real thread pool (for example, as an array of threads)
  • Environment:
    -
  1. PETALSCDK-83.patch
    (9 kB)
    Christophe DENEUX
    Thu, 22 Mar 2012 - 18:00:05 +0100

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
23h 3m
1
Christophe DENEUX
Fri, 23 Mar 2012 - 16:50:45 +0100
Open Open In Progress In Progress
1m 4s
1
Christophe DENEUX
Fri, 23 Mar 2012 - 16:51:49 +0100
In Progress In Progress Resolved Resolved
1m 45s
1
Christophe DENEUX
Fri, 23 Mar 2012 - 16:53:34 +0100
Resolved Resolved Open Open
8s
1
Christophe DENEUX
Fri, 23 Mar 2012 - 16:53:42 +0100
Open Open In Progress In Progress
2d 18h 21m
1
Christophe DENEUX
Mon, 26 Mar 2012 - 12:15:26 +0200
In Progress In Progress Resolved Resolved
2m 47s
1
Christophe DENEUX
Mon, 26 Mar 2012 - 12:18:13 +0200

People

Dates

  • Created:
    Thu, 22 Mar 2012 - 17:47:40 +0100
    Updated:
    Mon, 26 Mar 2012 - 12:18:13 +0200
    Resolved:
    Mon, 26 Mar 2012 - 12:18:13 +0200