RE: JavaMemoryModel: finalization review

From: Eliot Moss (moss@cs.umass.edu)
Date: Mon Nov 24 2003 - 21:38:49 EST


>>>>> "Jerry" == Jerry Schwarz <jerry.schwarz@oracle.com> writes:

    Jerry> I would prefer

    Jerry> System.unmovableReference(Object o)

    Jerry> The significant fact about this method is not that it designates
    Jerry> a point at which the object is reachable or unfinalizable. Any
    Jerry> reference does that. The significant aspect of it is that
    Jerry> compilers aren't allowed to move it around or eliminate
    Jerry> it. (Well, they're allowed to eliminate it.

Being a "GC person", I find "unmoveable" not very appealing, since it
suggests something about not being able to move the _object_ ....

Eliot
==============================================================================
J. Eliot B. Moss, Associate Professor http://www.cs.umass.edu/~moss www
Director, Arch. and Lang. Impl. Lab. +1-413-545-4206 voice
Department of Computer Science +1-413-695-4226 cell
140 Governor's Drive, Room 372 +1-413-545-1249 fax
University of Massachusetts at Amherst moss@cs.umass.edu email
Amherst, MA 01003-9264 USA +1-413-545-3733 Priscilla Coe sec'y
==============================================================================
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel



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