[Mono-dev] GC precision

Zoltán Tóth kotem.tozo at gmail.com
Fri Aug 8 09:40:21 UTC 2014


Thank you Miguel for the answer,

So does "MONO_GC_PARAMS=stack-mark=precise" give me TOTALLY precise
scanning?
The reasons i insist questioning are that the Release notes page of v_2.10
[1] says that it gives me only "mostly precise fashion" [though obviously
its effect could have changed since 2.10]; and in older documentation the
words "precise" and "mostly precise" seems to be used interchangeably.

[1] - http://www.mono-project.com/Release_Notes_Mono_2.10


----------------------------------------------

Miguel wrote:

This is now controlled with MONO_GC_PARAMS, you can set the variable to

stack-mark=precise

To use precise stack marking.   There are a few reasons that this is not
the default:

   - Legacy: many applications embedding Mono assumed that icalls/pinvokes
   that manipulated managed objects did not require pinning, so we would
break
   those apps.

   - Keeping the stack maps requires more memory.

Miguel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140808/201aaff6/attachment.html>


More information about the Mono-devel-list mailing list