[squeak-dev] About unloading of packages in the most recent
Squeak 4.1 trunk
Levente Uzonyi
leves at elte.hu
Mon Aug 23 22:07:44 UTC 2010
On Mon, 23 Aug 2010, Tobias Pape wrote:
> Hi,
> Am 2010-08-23 um 19:40 schrieb Casey Ransberger:
>
>>> Hm, I think Casey forgot to do [Smalltalk cleanUp: false] before saving the image. Doing that saves 2.8MB.
>>
>
> makes no difference after unloading.
> wich is somewhat surprising to me.
But it's ok. [Smalltalk cleanUp: false] just releases cached objects.
Some of these objects are released when the packages are unloaded, others
are cleaned by SmalltalkImage >> #unloadAllKnownPackages, like:
Undeclared removeUnreferencedKeys.
StandardScriptingSystem initialize.
MCFileBasedRepository flushAllCaches.
MCDefinition clearInstances.
Behavior flushObsoleteSubclasses.
ChangeSet current clear.
etc.
Levente
>
> so long,
> -Tobias
>
More information about the Squeak-dev
mailing list
|