[Mono-dev] GC precision
Miguel de Icaza
miguel at xamarin.com
Thu Aug 7 18:26:06 UTC 2014
This is now controlled with MONO_GC_PARAMS, you can set the variable to
To use precise stack marking. There are a few reasons that this is not
- Legacy: many applications embedding Mono assumed that icalls/pinvokes
that manipulated managed objects did not require pinning, so we would break
- Keeping the stack maps requires more memory.
On Thu, Aug 7, 2014 at 2:10 PM, Zoltán Tóth <zo1980 at gmail.com> wrote:
> Hi, I am new here and to Mono. I am considering adopting Mono as my main
> platform of programming. I am interested in the precision of the Mono
> garbage collector.
> A few months ago I already wrote to the mono-gc list, but have not got
> answer, looks like that list is inactive.
> Mono seems to have an exceptionally good description  of its GC. From
> that I could learn that even the "precise" GC "still scans some parts of
> the stack conservatively, these include the native frames below the last
> managed frame, the last managed frame, frames belonging to managed->native
> transitions, and all native frames above the first managed frame."
> I suspect that that description is several years old. As being
> [admittedly] paranoid of imprecise garbage collection, I hope that Mono may
> have got a totally precise GC already and it is just not documented,
> advertised. Is this the case? Or the documentation is still correct and the
> GC is still imprecise?
>  - http://www.mono-project.com/Generational_GC#Precise_Stack_Marking
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list