Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] DefaultVMModelProxyStrategy not being disposed?

Hi,

I'm chasing memory leaks in DSF-GDB and I have a question about DSF's DefaultVMModelProxyStrategy.
According to the java memory tool, that class is not being cleaned-up for DSF-GDB's LaunchVMProvider.
I don't see DefaultVMModelProxyStrategy being uninstalled for that provider and I've confirmed
that DefaultVMModelProxyStrategy.dispose() is not called for that case.

https://bugs.eclipse.org/238293 says that "the model owning the proxy is expected to
uninstall itself when it terminating", but I couldn't figure out where this was happening (or should be
happening).

Should DefaultVMModelProxyStrategy be listening for launch events and uninstall itself on a terminate
or a remove?  Like LaunchProxy is doing?

Thanks for any guidance.

Marc




Back to the top