Analyzing message sent to Smalltalk in trunk for plan B

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Analyzing message sent to Smalltalk in trunk for plan B

Nicolas Cellier
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



MessageSentToGlobalFinder.st (10K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Analyzing message sent to Smalltalk in trunk for plan B

Nicolas Cellier
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 <[hidden email]>:

> 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
>



MessageSentToGlobalFinder.st (11K) Download Attachment
MessageSentToGlobalMessage.st (3K) Download Attachment