[gambit-list] Configure options

Marc Feeley feeley at iro.umontreal.ca
Thu Mar 10 14:13:32 EST 2016


The parallel GC is a Cheney-style copying collector of the “work stealing” variety.  Each “processor” (in reality, an OS thread) has its own set of roots (the Scheme thread it is running, its stack and registers).  When the heap memory has been filled, all processors interrupt their current work to start a synchronous collection.  Each processor marks its roots, and then proceeds with scanning the objects it has copied to tospace.  This is done with little synchronisation with other processors.  When a processor finishes scanning the objects it has copied, it steals scanning work from other processors.  The GC ends when all scanning has been done.

Obviously I’m skipping all the nitty gritty details.

Marc


> On Mar 10, 2016, at 12:33 PM, Álvaro Castro-Castilla <alvaro.castro.castilla at gmail.com> wrote:
> 
>> Multi-processor support is actively being worked on and in particular, a parallel GC is being implemented.  It is not currently operational, so there is no need to use those configure options at this moment.
>> 
> 
> That's exciting! \o/
> What approach are you following for the GC, Marc?




More information about the Gambit-list mailing list