Re: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
quot; <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: are static classes GC'd? Date: Fri, 31 Jan 2003 16:32:08 +0100 Friday, January 31, 2003 4:20 PM , Adolfo Miguelez <[EMAIL PROTECTED]> a écrit : > I agree. But, cou

RE: are static classes GC'd?

2003-01-31 Thread Bueno Carlos M
2003 10:21 AM To: [EMAIL PROTECTED] Subject: RE: are static classes GC'd? I agree. But, could the hashtable be collected before since it has not references in the method? Or is TemplatesCache.getInstance().get("key"); considered as a reference? Thanks >From: "John Esp

RE: are static classes GC'd?

2003-01-31 Thread John Espey
rbage collected in this case. What type of errors are you getting? -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 9:21 AM To: [EMAIL PROTECTED] Subject: RE: are static classes GC'd? I agree. But, could the hashtable be collected

Re: are static classes GC'd?

2003-01-31 Thread Malik Recoing
Friday, January 31, 2003 4:20 PM , Adolfo Miguelez <[EMAIL PROTECTED]> a écrit : > I agree. But, could the hashtable be collected before since it has not > references in the method? Or is > > TemplatesCache.getInstance().get("key"); > > considered as a reference? If you use the Sigleton D.P. as it

RE: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
lt;[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: are static classes GC'd? Date: Fri, 31 Jan 2003 09:07:18 -0600 As long as the objects aren't wrapped in weak references, I don't see how they would get garbage collected (they

RE: are static classes GC'd?

2003-01-31 Thread John Espey
PROTECTED] Subject: RE: are static classes GC'd? Sorry, of course I meant the unique instance of the static class. We have a templates caches filled under demand, and implemented as a singleton hashtable. We suspect that GC could be cleaning the cache. Under heavy stress we are getting

RE: are static classes GC'd?

2003-01-31 Thread Adolfo Miguelez
;John Espey" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: are static classes GC'd? Date: Fri, 31 Jan 2003 08:46:13 -0600 I believe classes are never

RE: are static classes GC'd?

2003-01-31 Thread John Espey
I believe classes are never garbage collected, only objects. What sort of issue are you having where this question arose? -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 8:03 AM To: [EMAIL PROTECTED] Subject: are static classes GC'd? A