dcsimg
GC of Hashtable entries
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Harsh_Soni
Posted On:   Saturday, June 21, 2003 09:58 AM

Hi,




If the entries in a Hashtable are overwritten using putAll() , but the Hashtable continues to be referenced as it is a static class member, will the entries that got overwritten be available for garbage collection?

Re: GC of Hashtable entries

Posted By:   Nick_Maiorano  
Posted On:   Sunday, June 22, 2003 04:26 PM

Harsh,



As long as the previous hashtable elements are no longer referenced by any other objects, the will be eligible for garbage collection.

About | Sitemap | Contact