Removing The Global GC Lock: Largest Plausible Number of Threads?

dsimcha dsimcha at yahoo.com
Fri May 13 05:27:30 PDT 2011


On 5/13/2011 6:12 AM, Kagamin wrote:
> dsimcha Wrote:
>
>> 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.
>
> http://www.liblfds.org/
> ?

Surprisingly, lock-free free lists wouldn't solve the problem, since the 
GC flag bookkeeping would still require locking unless it is completely 
rewritten.


More information about the Digitalmars-d mailing list