[plt-scheme] Help on a testing about CGC

From: Chongkai Zhu (u0476504 at utah.edu)
Date: Tue Sep 5 09:42:48 EDT 2006

>I still haven't figured out the problem. I have managed to reproduce
> the problem with just
> 
> (define p (make-parameter #f))
> (p (string->symbol (make-string 1024 #\a)))
> 
> so it's definitely not a problem in your code.
> 
> Matthew
> 


>I *finally* found the bug and fixed it in SVN.
> 
> As expected, it was in ephemerons (which are used for mutating
> parameters) and specific to non-3m.
> 
> Matthew


----- Original Message ----- 
From: "Chongkai Zhu" <u0476504 at utah.edu>
To: "pltscheme" <plt-scheme at list.cs.brown.edu>
Sent: Monday, September 04, 2006 9:00 PM
Subject: [plt-scheme] Help on a testing about CGC


> Hi all,
> 
> Attached is a small PLT program. Would people please help testing it and report the result here with you platform information? Thanks.
> 
> The program consists of two modules. The base module is writen in C. To help compiling it, "installer.ss" is also attached. If you have a C compiler, load the installer and then run 
> 
> (pre-installer (current-directory))
> 
> should be enough. 
> 
> To do the testing, please load "mathematica.ss", run (MathKernel) first, and then test to see whether (current-mathlink) always return #<MathLink>.
> 
> Here is one of my test interaction:
> 
> Welcome to DrScheme, version 352.4.
> Language: (module ...).
>> (MathKernel)
> #<MathLink>
>> (current-mathlink)
> #<MathLink>
>> (current-mathlink)
> #<MathLink>
>> (current-mathlink)
> 7.4714817665179e-244
>> 
> 
> Before each time you run (current-mathlink), please do GC enough time. I do this by hiting the "GC" buttom from DrScheme until the memory counter doesn't change (5-10 times).
> 
> Thanks.
> 
> Chongkai


--------------------------------------------------------------------------------


> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>

Posted on the users mailing list.