[gclist] Finalization and death notices

Pekka P. Pirinen pekka.p.pirinen@globalgraphics.com
Wed, 10 Oct 2001 17:26:46 +0100


> 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

Well, that's just one implementation, but it is a fact that the
interpretation of "memory is running low" has to be fairly
sophisticated in a system that expands its heap on demand.  People
probably don't want soft references that don't go away until the Java
heap has gobbled up all the VM.
-- 
Pekka
There is enough in the world for man's need, but not for his greed.
    - Gandhi