Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.6.2
-
None
-
None
Description
In AbstractDeployer.deploy(), the DeploymentFileData instance is added to the Map using the absolute path of the service file (.aar). However ServiceDeployer.undeploy() passes the service name instead of the absolute path to super.undeploy() which means nothing is removed from the Map.
The result is a leaked reference to the service's classloader, which cannot be garbage-collected (unless the service is redeployed, in which case the Map entry is replaced and the original classloader becomes eligible for collection).