For those who have not subscribed to the main Squeak list.

Andreas

----- Original Message -----
From: "John M McIntosh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 12, 2000 10:10 PM
Subject: [BUG] [FIX] Comanche v4.6 Swiki v11 lockup


> There is a bug in the Squeak finalization logic. Sometimes things
> like sockets don't get finalized. Other things that should be
> finalized, well who knows what the side effects are for them, I've
> just chased the socket issue. If you are using WeakKeyDictionaries
> beware.
>
> For heavily loaded Comanche based Swiki's this bug leads to all sorts
> of interesting failures, lockups, failures to accept connections, and
> poor performance.
>
> To solve this problem now for Comanche based Swiki's (Comanche
> 4.6/Swiki 11), and before diving into a proper fix for the
> finalization logic the following code will attempt to explicitly
> destroy sockets to avoid triggering the finalization bug.
>
>
> PS if you use and abuse Squeak Sockets ensure you  closeAndDestroy or
> destroy them after you are done, don't let the GC have to cleanup for
> you since it might not until we fix the finalization problem.


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


> --
> --
>
===========================================================================
> John M. McIntosh <[EMAIL PROTECTED]> 1-800-477-2659
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
>
===========================================================================
> Custom Macintosh programming & various Smalltalk dialects
> PGP Key: DSS/Diff/46FC3BE6
> Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
>
===========================================================================

DestroySocketsJMM.1.cs

Reply via email to