The cost of write barriers

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 4 14:18:58 PST 2014


On Tuesday, 4 November 2014 at 10:09:47 UTC, thedeemon wrote:
> On Tuesday, 4 November 2014 at 06:09:21 UTC, deadalnix wrote:
>
>> Write barrier are only required on objects that contain 
>> mutable pointer and are shared.
>
> Required for what exactly? If you want generational GC, you'll 
> need barriers everywhere, not only in shared heap.

Ok I see, I was think about write barrier for concurrent
collection. Sorry for the confusion.


More information about the Digitalmars-d mailing list