[gclist] A Java question.

johnm-gclist@non.net johnm-gclist@non.net
25 Mar 1997 22:51:20 -0000

>>>>> "Charles" == Charles Fiterman <cef@geodesic.com> writes:
> At 12:35 PM 3/25/97 -0800, you wrote:
>>> I think you may be talking about the fact that once a finalizer has been
>>> called once, it will not be called again.
>>  A finalizer may be called more than once in some circumstances.

> I wonder how they do all this. The only safe algorithm I can come up with
> uses a write barrier on pointers.

Check out JLS section 12.6.1, page 231, "Implementing Finalization".