"dsimcha" <dsim...@yahoo.com> wrote in message news:iqfn3l$p2p$1...@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.