Potential GSoC project - GC improvements

Jeremy DeHaan via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 10 08:46:59 PST 2016


On Thursday, 10 March 2016 at 15:24:48 UTC, Andrei Alexandrescu 
wrote:
> On 3/9/16 10:40 PM, NX wrote:
>> I think the best possible improvement for GC is making it 
>> lock-free.
>> Currently, GC lock cause some serious performance penalties for
>> multithreaded code when frequent allocations take place.
>
> I agree. A first step would be easy to do with std.allocator's 
> thread-local freelists. -- Andrei

I was looking into this, but I am slightly hesitant. Should the 
gc use something in std.experimental? Or should we think that's 
ok?

I also know that there are some people that think we should avoid 
using Phobos in druntime.


More information about the Digitalmars-d mailing list