Re: concurrent garbage collection and POSIX threads
Jon Harrop <[email protected]> Sat, 9 Jan 2010 04:25:35 +0000
| Newsgroups | gmane.comp.programming.garbage-collection.general |
|---|---|
| Organization | Flying Frog Consultancy Ltd. |
| Message-ID | <[email protected]> |
On Friday 08 January 2010 20:14:56 you wrote: > You don't have to pause any execution of app threads for a concurrent > garbage collector. A full concurrent garbage collector can run as a lowest > priority thread, and never invoke any thr_suspend/resume the like calls. Rafael cited the Very Concurrent Garbage Collector (VCGC) which is a simple mostly-concurrent GC. Incidentally, what is the simplest fully concurrent GC? The simplest approach I can think of would be to duplicate every pointer in the heap and use a ragged barrier to allow the system to migrate from using one to the other while the collector operates on the unused pointers (acting as a snapshot of the heap). -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e