On Saturday 13 December 2003 18:21, Stephen McConnell wrote: > Life is hard, and then you die wrote: > >Section 12.6.1 of the > >JLS 2.0 is a good read for this. > > http://java.sun.com/docs/books/jls/second_edition/html/execution.doc.html#4 >4760 Just the thing for a Saturday morning!
Indeed... very tough reading (as is most of JLS - how many would have become Java programmers if that was the only book/info about Java?) BUT, I think you are still a bit wrong; When the hard reference to the Proxy is dropped, BOTH the Proxy AND the component becomes Finalizer-Reachable/Unfinalized (State Transition B). <quote> A finalizer-reachable object can be reached from some finalizable object through some chain of references, but not from any live thread. </quote> (Actually when I am staring at that statement, I think it is actually written wrongly. For a lone object with a finalize() method, that is not reachable, the diagram shows it must be finalizer-reachable, but the text says it must be reachable by a finalizable object somewhere. Which finalizable object would that be?) I am going for dinner, see if I can digest this... Niclas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
