[gclist] Finalization and death notices

kkonaka@softalia.com kkonaka@softalia.com
Wed, 10 Oct 2001 12:13:48 -0400


 > >   If there are SoftReferences, the object is retained until memory is
 > >   running low, then SoftReferences are cleared (before
 > >   OutOfMemoryError) and enqueued.
 > 
 > yes

well, this java's notion of ``memory is running low'' actually
is a bit complicated (and interesting), 
please try see the function computeSoftRefThreshold(void) of 
j2sdk1.3.1/src/share/javavm/runtime/gc.c
I was amazed with this (and struck again how
inaccurate my interpretation of ``documents/specs'' are :p)

regards,
kenji