[Mono-dev] gc heap & multi-threading

Steve Bjorg steveb at mindtouch.com
Wed May 27 09:52:29 EDT 2009


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 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 is exhausted?  Thanks.

- Steve

--------------
Steve G. Bjorg
http://mindtouch.com
http://twitter.com/bjorg
irc.freenode.net #mindtouch



More information about the Mono-devel-list mailing list