[Mono-dev] gc heap & multi-threading

2009-05-24 Thread Steve Bjorg
I'm working on some lock-free data structures in c# and have a question on the internals of the GC on mono. Does each thread have its own heap that it can allocate from? Or asked differently, does "new object()" always cause a lock on the global heap or only when the thread's local heap i

[Mono-dev] gc heap & multi-threading

2009-05-27 Thread Steve Bjorg
Sorry for resending this, but I really need to know if my work on concurrency optimizations will apply to Mono as well. If so, I'd love to contribute back the work-stealing scheduler which is similar to the one found in .Net 4.0. Thanks. --- I'm working on some lock-free data structures i

Re: [Mono-dev] gc heap & multi-threading

2009-05-27 Thread Rodrigo Kumpera
It does TLA under linux and the upcoming GC will be even better at this. On Wed, May 27, 2009 at 10:52 AM, Steve Bjorg wrote: > Sorry for resending this, but I really need to know if my work on > concurrency optimizations will apply to Mono as well. If so, I'd love > to contribute back the work

Re: [Mono-dev] gc heap & multi-threading

2009-05-27 Thread Steve Bjorg
Wonderful! That's music to my ears! :) - Steve -- Steve G. Bjorg http://mindtouch.com http://twitter.com/bjorg irc.freenode.net #mindtouch On May 27, 2009, at 7:29 AM, Rodrigo Kumpera wrote: It does TLA under linux and the upcoming GC will be even better at this. On Wed, May 27

Re: [Mono-dev] gc heap & multi-threading

2009-05-28 Thread russell.kay
: mono-devel Subject: Re: [Mono-dev] gc heap & multi-threading Wonderful! That's music to my ears! :) - Steve -- Steve G. Bjorg http://mindtouch.com http://twitter.com/bjorg irc.freenode.net #mindtouch On May 27, 2009, at 7:29 AM, Rodrigo Kumpera wrote: It