Patches item #759262, was opened at 2003-06-23 14:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=759262&group_id=22866

Category: JBossServer
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Rod Burgett (rodburgett)
Assigned to: Nobody/Anonymous (nobody)
Summary: housekeeping cleanup in ejb classes

Initial Comment:
This patch includes changes to 3 classes to facilitate 
garbage collection and reduce memory leaks.   These 
may seem like minor updates, but circular references and 
collections of references can be a nuisance to garbage 
collectors.

Diff files are attached, and here's a summary of the 
changes:

The destroyService() method of org.jboss.ejb.Container 
is incomplete, this patch extends the clean up to include 
nulling several fields and clearing some container fields.  
Also, in the getJmxName method, the scope of the 'if ( 
jmxName == null )' condition was increased to include 
population of the local beanMetaData and jndiName 
fields.  They aren't used unless the condition is satisfied, 
so there appears to be no reason to populate them.

The stopService() method of org.jboss.ejb.EJBDeployer 
gets a line to null the serviceController reference.

The destroyService() method of org.jboss.ejb.EjbModule 
is incomplete, this patch extends the clean up to include 
nulling several fields and clearing the module data 
container field.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=759262&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to