|
|
>> If this is so, then what we have is a memory leak. In a GC'd system.
>
> It's definitely a problem. Some would argue that it's not technically a
> memory leak, but rather a failure to disconnect the Listener from the
> Engine. It's easier to diagnose (if it's deterministic, at least),
> because you see the Engine's list growing indefinitely. You don't lose
> memory and not know what's in it.
It would be a leak if the Engine kept *strong* references to the
Listeners. Then the Listeners would never get GC'd.
Post a reply to this message
|
|