Skip to main content

Source code revision

svn

summary: Each Rails application deploy/undeploy leaks memory. These fixes are related to that.
revision: 24448
author: vivekp
date: 2009-01-23 23:14:35 UTC (5 years)
message: Each Rails application deploy/undeploy leaks memory. These fixes are related to that.

* VsAdapter calls apps.remove(app) during unregister undeploy of ApplicationContainer and the associated Grizzly Adapter. Problem is that it uses ApplicationContainer as key, where as the HashMap key is Adapter so it never gets removed. This is causing mem leaks, pretty bad one.

* Also, in ModuleInfo.start(), there is 2 times registration happening the second one should happen only if the first one fails (although I dont see the meaning of the second one).
Change Path Actions
M trunk/v3/common/internal-api/src/main/java/org/glassfish/internal/data/ModuleInfo.java
M trunk/v3/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/VsAdapter.java
 
 
Close
loading
Please Confirm
Close