Re: JavaMemoryModel: A problematical case for finalizers

From: Joshua Bloch (
Date: Tue May 20 2003 - 02:51:45 EDT


>2) Convince authors to fix Java textbooks.
>Some of the finalizer-related discussion in current textbooks is so far
>off track that I would expect a lot of existing code that uses finalizers
>to be in need of repair no matter what we do. (E.g. at least one recommends
>that finalizers be used to clear circular references to make life easier
>for the garbage collector. I haven't seen any textbook discussion
>of finalizers that I think would be adequate to teach correct usage.
I have: avoid finalizers. I know that you and I disagree on this one.


JavaMemoryModel mailing list -

This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:44 EDT