Symbol allInstances

nicolas cellier ncellier at ifrance.com
Tue Jul 31 07:14:24 UTC 2007


Philippe Marschall <philippe.marschall <at> gmail.com> writes:

> Browsing through a 3.9 image I found three senders of Symbol
> allInstances which store the result in a temp during image segment
> export:
> ImageSegment >> #copySmartRootsExport:
> CodeLoader >> #exportCodeSegment:classes:keepSource:
> SystemDictionary >> #writeImageSegmentsFrom:withKernel:
> Is this a problem?
> 
> Cheers
> Philippe
> 

Yes, Symbol is now an abstract class.
Symbol allInstances size = 0.
There are only ByteSymbol or WideSymbol in the image.
If goal is to create strong pointers as mentionned in comment, then Symbol
allSubInstances would be better.

Nicolas




More information about the Squeak-dev mailing list