As these singletons are not freed, a new instance is created each time a component is installed because each component instance has its own classloader
As these singletons are not freed, a new instance is created each time a component is installed because each component instance has its own classloader
Environment:
-
Issue Links
Depends
This issue blocks:
PETALSDISTRIB-2
Memory-leak on installation/uninstallation and deployment/undeployment
Christophe DENEUX added a comment - Thu, 8 Mar 2012 - 11:35:49 +0100 To merge in trunk.
Is it needed to have singleton for utility classes. I think it is better and simpler to have only classes with static methods.
Christophe DENEUX added a comment - Fri, 9 Mar 2012 - 12:56:36 +0100 - edited This issue has not to be merged in trunk since utility singletons were remplaced by static utility methods
Christophe DENEUX added a comment - Tue, 27 Mar 2012 - 16:58:10 +0200 CAUTION: new commit (svn#31906) in branch to prevent NPE when restarting/reinstalling the component, the UtilFactory must be freed by destructor
Merge in branch petals-entreprise-3.1.x