> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
> Subject: Re: PermGen space
> 
> The problem is the cyclic dependence between the Class object, the
> ASingletonImpl object and the according ClassLoader. This way nothing
> can be freed by the gc.

Cyclic references are not a problem for any garbage collector released
in the last six or seven years.  Unless there's another reference
somewhere to a member of the cyclic set, GC will never see any of the
objects that are referring to each other, and they become disposable.

The link given by Michael Fortin (which is also in the Tomcat FAQ) has
real reasons:
http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?
pageId=2669

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to