[Mono-dev] Re: GC startup time on windows (in DllMain)
Paolo Molaro
lupus at ximian.com
Thu Mar 2 10:39:41 EST 2006
On 03/02/06 Aras Pranckevicius wrote:
> And this first collection seems to walk over memory, find out which
> memory can be read and which can't, etc. etc. On my machine it does
> ~5000 calls to GC_mark_from, each of them being a millisecond or less,
> but all the calls add up.
>
> Now, one could set GC_dont_precollect to be one (it is zero by
> default), and the comments at gc.h seem to say that you can do this if
> you're building the root set yourself - which I think mono does.
Could you try setting GC_no_dls to 1 very early (before GC_init() can be
called?) and see if it has the same effect as setting GC_dont_precollect?
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list