Back to index

plt-scheme  4.2.1
javaxfc.h
Go to the documentation of this file.
00001 # ifndef GC_H
00002 #   include "gc.h"
00003 # endif
00004 
00005 /*
00006  * Invoke all remaining finalizers that haven't yet been run.
00007  * This is needed for strict compliance with the Java standard, 
00008  * which can make the runtime guarantee that all finalizers are run.
00009  * This is problematic for several reasons:
00010  * 1) It means that finalizers, and all methods calle by them,
00011  *    must be prepared to deal with objects that have been finalized in
00012  *    spite of the fact that they are still referenced by statically
00013  *    allocated pointer variables.
00014  * 1) It may mean that we get stuck in an infinite loop running
00015  *    finalizers which create new finalizable objects, though that's
00016  *    probably unlikely.
00017  * Thus this is not recommended for general use.
00018  */
00019 void GC_finalize_all();
00020 
00021