[M3devel] Am I experiencing garbage collection?

Tony Hosking hosking at cs.purdue.edu
Thu Mar 26 01:26:55 CET 2009


That's good (from my perspective) because I worried the collector was  
getting in the way.  Looks like something else perhaps.  I suggest  
profiling somehow to get a sense as to what is interrupting you.  Are  
you running with pthreads?

On 26 Mar 2009, at 10:14, hendrik at topoi.pooq.com wrote:

> On Wed, Mar 25, 2009 at 07:00:54PM -0400, hendrik at topoi.pooq.com  
> wrote:
>> On Thu, Mar 26, 2009 at 10:23:24AM +1100, Tony Hosking wrote:
>>> It is possible that you are experiencing delays, though I am  
>>> surprised
>>> that you have user-noticeable delays.  Do you have a demo I can try?
>>> You could also try turning of GC (@M3nogc) and see if the delays are
>>> no longer there.
>>
>> That option @M3nogc -- do I put it on the command line when I  
>> execute?
>
> Thanks.
>
> Running
>  ./LINUXLIBC6/Main @M3nogc
> instead of
>  ./LINUXLIBC6/Main
> gives me the same momentary gaps.  So if that's how you shut off the
> garbage collector, it's not the garbage collector.  Perhaps some other
> process is stealing centiseconds now and then.
>
> -- hendrik




More information about the M3devel mailing list