Garbage Collection Points

JIT Code

GC Points are an essential part of an exact (and moving) GarbageCollector. A collection can only take place if all threads are stopped at such points. The following things have to be assured at these points:

The number and placement of GC points has to make sure there are no blocking methods running in the thread. Once the GC wants to do a collection, all the threads need to suspend "quickly". So we chose the following JIT instructions to be GC points:

Problems in native code

TODO

cacaowiki: GCPoints (last edited 2006-11-03 18:29:53 by MichaelStarzinger)