[squeak-dev] Re: Analyzing message sent to Smalltalk in trunk for plan B

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Mar 3 22:14:33 UTC 2010


A little update for analyzing senders of SmalltalkImage current...

It does not detect users of complex workarounds (like dispatching to
Smalltalk or SmalltalkImage depending on existency...)

Nicolas

2010/3/3 Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
> If we want to rename SystemDictionary:
>
> SystemNavigation default allCallsOn: (Smalltalk associationAt:
> #SystemDictionary)
> ->
> SystemDictionary >> majorShrink
> SystemDictionary >> discardOddsAndEnds
> ReleaseBuilderFor3dot11 >> cleanupPhasePrepare
>
> They all call (SystemDictionary  removeSelector: xxx)
>
>
> Which message is sent to Smalltalk ?
> (not counting messages sent to self class environment)
>
> As usage is huge, I do not reproduce here.
> An analyzer utility is provided attached
>
> Use with:
> MessageSentToGlobalFinder testMessagesSentToSmalltalk
>
> to come next: analyze of messages sent to (SmalltalkImage current)
>
> Nicolas
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageSentToGlobalFinder.st
Type: application/x-st
Size: 8651 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100303/325fb7b6/MessageSentToGlobalFinder.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MessageSentToGlobalMessage.st
Type: application/x-st
Size: 2363 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100303/325fb7b6/MessageSentToGlobalMessage.bin


More information about the Squeak-dev mailing list