Tuning Garbage Collection

CACAO currently uses the conservative Boehm GC in stop-the-world mode.

During loading and linking CACAO checks whether a class has any instance variables of reference type. If so, objects of this class are allocated as kind "NORMAL". Otherwise they are allocated as "PTRFREE". Arrays of references are allocated as "NORMAL", arrays of primitive types as "PTRFREE".

There are some possibilities for tuning the GC that have not been implemented, yet:

cacaowiki: GarbageCollectorTuning (last edited 2006-04-27 10:59:58 by EdwinSteiner)