On Wed, 2 Feb 2011, Joseph D. Wagner wrote:
I've noticed it doesn't override equals or hashCode. It's my understanding that the garbage collector uses hashCode to determine when an object is eligible for collection.

Not sure most of the garbage collectors do, though the lack of methods could potentially slow down certain list/map/lookup operations

I'm sure there was a good talk at ApacheCon in Atlanta a few months back that covered the garbage collector in good detail, but annoyingly I've forgotten who gave it so I can point you at it... This blog post looks fairly good though:
http://techfeast-hiranya.blogspot.com/2010/11/taming-java-garbage-collector.html

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to