[squeak-dev] The Inbox: Morphic-nice.635.mcz
Nicolas Cellier
nicolas.cellier.aka.nice at gmail.com
Tue Jan 22 22:55:17 UTC 2013
There is more...
(MCFileBasedRepository flushAllCaches) does not flush all the MCDefinition
The MCMethodDefinition ones corresponding to installed methods in the
system are remaining.
MCMethodDefinition class>>initialize
Smalltalk addToShutDownList: self
MCMethodDefinition class>>shutDown
definitions := nil.
So the intention was probably to release the definitions cache at
image save or quit
Unfortunately, SmalltalkImage>>processShutDownList: is sending
#shutdown: not #shutdown so the cache is not cleaned
We should implement
MCMethodDefinition class>>shutDown: quitting
definitions := nil.
or
MCMethodDefinition class>>shutDown: quitting
quitting ifTrue: [definitions := nil].
Nicolas
2013/1/22 H. Hirzel <hannes.hirzel at gmail.com>:
> Thank you for the clarification regarding MC caches. Where is the menu
> item to flush MC caches manually from time to time?
>
> It is not in the docking bar menu nor in the menu of the Monticello browser....
>
> --Hannes
>
> On 1/22/13, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> On 22.01.2013, at 14:21, "H. Hirzel" <hannes.hirzel at gmail.com> wrote:
>>
>>> Good to have this solution, thank you.
>>> It will help me a lot as images grow older and larger (sometimes up to
>>> 80 MorphicProjects).
>>
>> Err, no. You still need to flush the MC caches manually from time to time
>> using the MC menu item.
>>
>> This docking bar change is just to get rid of unwanted dependencies, the
>> space occupied by these windows is negligible.
>>
>> - Bert -
>>
>>
>>
>>
>
More information about the Squeak-dev
mailing list
|