|
Roberto wrote:
Incremental GC (the subject of this thread) is there to reduce worst case memory and CPU usage.I'm not sure about that. It seems much easier to ensure worst-case memory with a mark-and-sweep collector. CPU usage (average) also seems to increase with an incremental GC, due to higher administrative overhead.
I think you are right about the memory usage, but the incremental GC benefits to worst case CPU usage are clear. I'm talking about peak GC CPU usage per unit of time of course (such as the duration of a graphics frame), not total GC CPU usage over the lifetime of the application.
-John -- http:// ift ile.org/