The new Mono GC

Sean Kelly sean at invisibleduck.org
Fri Sep 3 14:38:49 PDT 2010


Jacob Carlborg Wrote:

> On 2010-09-03 19:58, Sean Kelly wrote:
> >
> > It sounds pretty nice, but this bullet point could be a problem:
> >
> > * Uses write barriers to min i mize the work done on minor collections.
> 
> Why would write barriers be a problem, could you elaborate?

I think write barriers in this context are calls out to the GC to notify it of reference changes, and these are generated by the compiler.  A language like D that can call inline ASM, external C routines, etc, simply can't provide that guarantee.  SafeD maybe.


More information about the Digitalmars-d mailing list