Debugging a bug that wasn't.
Igor Stasenko
siguctua at gmail.com
Mon Apr 21 22:18:01 UTC 2008
2008/4/20 <bryce at kampjes.demon.co.uk>:
> Igor Stasenko writes:
> > GC signals a semaphore after finishing (don't remember - is weak
> > finalization process using it or different one).
> > I'm not sure, can it somehow interfere with given case?
> >
> > If weak finalization loop creates new objects, it can lead to
> > exclusive looping in it, because user processes running with lower
> > priority.
> >
>
> The problem has nothing to do with finalisation. The issue is running
> a GC for every allocation slows down execution a lot. Enough that
> there's a race to get through the test code before all 10 profiling
> threads start profiling. If they all start profiling then they can
> consume all available CPU.
>
Okay. So, the problem that forcing to collect garbage after single
allocation seem too stressing for your tests.
Then why not divide test on parts - one for testing GC, another one
for testing interrupts which causing active process switching?
>
>
> Bryce
> _______________________________________________
> Exupery mailing list
> Exupery at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/exupery
>
--
Best regards,
Igor Stasenko AKA sig.
More information about the Exupery
mailing list