AnObsoleteEventMessageSet class isObsolete = true

Ralph Boland rpboland at gmail.com
Thu Aug 18 11:49:08 UTC 2005


I am trying to track down leaky memory problems (after a year my image has grown
to 75M even though there is little in it).

I wrote a method to generate all objects reachable from a given object
by recursively
following instance variables.
This method eventually attempts of add an object of class
AnObsoleteEventMessageSet
to my set of reachable objects.  This causes a hash message to be sent
to this object
which then fails.
Tracking down the problem I discovered that:

         (AnObsoleteEventMessageSet class isObsolete = true)

   Is this normal or is this some kind of bug?

  What should I do about it?

  For now I just added the line:
  
     (obj class isObsolete)  ifTrue:  ["don't add object to reachable
objects set"]

Thanks

Ralph Boland



More information about the Squeak-dev mailing list