[Mono-dev] gc heap & multi-threading

Steve Bjorg steveb at mindtouch.com
Sun May 24 14:38:48 EDT 2009


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