Removing The Global GC Lock: Largest Plausible Number of Threads?
JimBob
jim at bob.com
Fri May 13 02:14:20 PDT 2011
"dsimcha" <dsimcha at yahoo.com> wrote in message
news:iqfn3l$p2p$1 at digitalmars.com...
> I'm thinking about ways to remove the global lock from the garbage
> collector for most small allocations. I'm basically thinking of making
> the free lists thread local.
If you use lock free free lists you dont need one for every thread, you only
need enough to reduce contention on the free lists, which in my experience
is about 1x to 2x the number of cores you have.
More information about the Digitalmars-d
mailing list