Threading and the Garbage handler mess.

Craig Black cblack at ara.com
Mon Sep 8 06:39:02 PDT 2008


> There *should* be a
> benefit from collecting garbage in parallel, especially after number of
> cores raises to dozens.

Do you know something I don't?  According to my research, a separate thread 
touching everyone else's memory causes huge amounts of cache misses and page 
faults.  These far outweigh any benefit gleaned from running the GC in 
parallel.

-Craig 





More information about the Digitalmars-d mailing list