Squeak and Seaside Stability

Jon Hylands jon at huv.com
Tue Dec 19 18:34:41 UTC 2006


On Tue, 19 Dec 2006 10:26:25 -0800, Andreas Raab <andreas.raab at gmx.de>
wrote:

> 1) Which VM are you using?

3.7.1 (release) from Sept 23, 2004
Compiler: gcc 2.95.2 19991024 (release)

> 2) Does the following leak?
> 
>       1000 timesRepeat: [NetNameResolver localHostAddress]

No.

> 3) Does the following leak?

Yes.

>     How fast does it execute?

283 ms

>     How many stars do you get in the transcript?

None.

>     addr := NetNameResolver localHostAddress.
>     [
>       1000 timesRepeat: [
>           (NetNameResolver
>               nameForAddress: addr
>               timeout: 5) ifNil:[Transcript show: '*'].
>       ]
>     ] timeToRun.
> 
> 4) If test 3) does leak, increase the timeout to 50 and re-run. Does it 
> still leak? How fast does it execute?

Same results, 1000 more handles, no stars on the transcript, run time was
265 ms.

This is on Squeak 3.8 (6665) on XP Pro.

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Raptor (Small Biped Velociraptor Robot)
           http://www.huv.com/blog



More information about the Squeak-dev mailing list