[squeak-dev] The Inbox: Kernel-tfel.508.mcz

Tobias Pape Das.Linux at gmx.de
Mon Oct 25 16:14:47 UTC 2010


Am 2010-10-25 um 18:05 schrieb Bert Freudenberg:
> On 25.10.2010, at 18:01, Tobias Pape wrote:
> 
>> Your version of withAllSuperAndSubclassesDo: uses 
>> #allSubclassesDoGently: hence will probably bring in 
>> non-in-memory objects. 
> 
> The point of being gentle is to not touch swapped out objects. If no objects are out, the methods should behave identically, so it is not outright wrong to use them.
> 


but with #withAllSuperAndSubclassesDo: and #withAllSuperAndSubclassesDoGently: available
I would suspect that the latter guarantees that swapped out objects remain
untouched while the former will touch them, which is not given with Tim's implementation :)

So long,
	-Tobias





More information about the Squeak-dev mailing list