[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


Hi Andreas,
thanks for this hint - nice feature.
 
But we want that GC does nothing while a special code block ist executed!
 
Thanks
Michael

________________________________

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.

 

Greetings

Andreas

 

________________________________

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
An: 

------=extPart_000_01D8_01C7616B.986Creff: [Mono-dev] Stop Garbage Collection for a Codeblock 

 

Hi! 

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 
Michael Back 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070308/bc252b9f/attachment.html 


More information about the Mono-devel-list mailing list