GC & The "Expensive Object" Problem

Mark S. Miller markm@caplet.com
Thu, 06 May 1999 23:48:37 -0700


At 11:43 AM 5/6/99 , Bill Frantz wrote:
>[+] It is also necessary that exhaustion of the externally-expensive
>resource trigger GC.  A fine example is running out of OS file handles.
>Current JVMs require that you close files if your application needs to
>access a large number of files.

Is it necessary if the local gc can guarantee that expensive objects get 
collected & finalized in a prompt manner?  (Though defining "prompt" can get 
slippery.)


	Cheers,
	--MarkM