[Mono-dev] GC precision
Miguel de Icaza
miguel at xamarin.com
Fri Aug 8 13:26:53 UTC 2014
Mono 2.10 is more than 3 years old.
Precise stack marking only became available a year after that.
Miguel
On Fri, Aug 8, 2014 at 5:40 AM, Zoltán Tóth <kotem.tozo at gmail.com> wrote:
> 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
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140808/a6c5fff1/attachment.html>
More information about the Mono-devel-list
mailing list