[squeak-dev] turning off garbage collection

Chris Muller asqueaker at gmail.com
Tue Jul 31 19:10:03 UTC 2012


With standard GC settings the test survived for 30 seconds before VM
crash.  When I upped vmParameter 5 to 100,000,000 the test survived
for 228 seconds.

Is there a way to know when a GC occurs (either kind)?  I've
instrumented several methods to log to a global log file -- I'd like
to try to confirm the crash coincides with a GC..



On Tue, Jul 31, 2012 at 1:01 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> On 31.07.2012, at 09:17, Chris Muller wrote:
>
>> I'm trying to investigate a reproducible Cog crash and beginning to
>> wonder whether Cog may have some sort of timing issue with the garbage
>> collector.
>>
>> Is there an easy way to turn off the garbage collector in the image?
>
> I don't think so, but you could raise the limits so GC occurs less often.
>
> - Bert -
>
>
>


More information about the Squeak-dev mailing list