[Mono-dev] Stop Garbage Collection for a Codeblock
Back, Michael (ext)
michael.back.ext at siemens.com
Thu Mar 8 04:45:09 EST 2007
thanks for this hint - nice feature.
But we want that GC does nothing while a special code block ist executed!
Von: Andreas Nahr [mailto:ClassDevelopment at A-SoftTech.com]
Gesendet: Thursday, March 08, 2007 10:22 AM
An: Back, Michael (ext); mono-devel-list at lists.ximian.com
Betreff: AW: [Mono-dev] Stop Garbage Collection for a Codeblock
Using the fixed keyword you can prevent the collection of a memory block, however I'm not sure this is what you're looking for.
Also I fail to see how this (by itself) could possibly help with time-critical parts.
Von: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von Back, Michael (ext)
Gesendet: Donnerstag, 8. März 2007 10:06
------=extPart_000_01D8_01C7616B.986Creff: [Mono-dev] Stop Garbage Collection for a Codeblock
Is it possible to stop the GC for garbage collecting for a code block?
This would be helpful for time critical parts.
I think about something like gc_barrierer_on and gc_barrierer_off.
If such possibility doesn't exists, may be it could implemented and improve mono :-)
With best regards
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list