Indeed, not all per pass...

I find that, in Squeak, compared to VisualAge, for instance, that finalisation rarely happens regularly... This does tend to lead to quite prolonged processing when most critical...

----- Original message -----

Bill, I always tell people

(a) finalization will occur later, not when you think it should

(b) finalization will occur slower/faster than you think.

(c) both (a) & (b) will vary

You're violating (a)

There is mention of doing a full GC will force the finalization, but I can't recall if that finalizes (all) objects in old oops space in one pass with squeak.

Various Smalltalk flavours and versions do things differently, some at different times & versions perhaps would only finalize one oops per pass (visualage).

On 2010-01-06, at 10:12 AM, Schwab,Wilhelm K wrote:

> I am trying to add finalization to something and appear to be at a point that finalization does not happen until I open the process browser.  Any ideas?

>

> Bill

>

>

> _______________________________________________

> Pharo-project mailing list

> Pharo-project@lists.gforge.inria.fr

> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--

===========================================================================

John M. McIntosh <johnmci@smalltalkconsulting.com>  Twitter:  squeaker68882

Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com

===========================================================================

_______________________________________________

Pharo-project mailing list

Pharo-project@lists.gforge.inria.fr

http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project