Re: [squeak-smalltalk/squeak-object-memory] Senders of `textDomain` finds all methods that send `translated` (Issue #156)
Marcel Taeumel via Squeak-dev <[email protected]> Thu, 11 Jun 2026 08:57:25 -0700
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <squeak-smalltalk/squeak-object-memory/issues/156/[email protected]> |
marceltaeumel left a comment (squeak-smalltalk/squeak-object-memory#156) This is probably a feature and not a bug? See `AdditionalMethodState >> #analogousCodeTo:`. Hmm... a similiar example is `onceCache`. There can be various symbols added to compiled methods, which is the database that the Senders tools operates on. <img width="1226" height="732" alt="Image" src="https://github.com/user-attachments/assets/8f7b0686-0b48-4890-adb2-8ac2c4c41e6a" /> <img width="1187" height="797" alt="Image" src="https://github.com/user-attachments/assets/df5e4383-e000-4737-91e4-1a505a6fa4a5" /> **We could ignore AdditionalMethodState** ... but then we would also ignore a method's selector? ```Smalltalk allLiteralsDo: aBlock scanForSpecial: aBoolean "Overwritten to skip certain (raw) literals." "Exclude method selector (or properties) and the method's class. Include code literals." 1 to: self numLiterals - 2 do: [:index | (self literalAt: index) allLiteralsDo: aBlock scanForSpecial: aBoolean]. "Enumerate the implicit literals in bytecodes of the receiver." aBoolean ifTrue: [self implicitLiteralsDo: aBlock]. "Enumerate method selector only through additional method state." self penultimateLiteral isMethodProperties ifTrue: [self penultimateLiteral allLiteralsDo: aBlock scanForSpecial: aBoolean] ``` -- Reply to this email directly or view it on GitHub: https://github.com/squeak-smalltalk/squeak-object-memory/issues/156#issuecomment-4682453953 You are receiving this because you are subscribed to this thread. Message ID: <squeak-smalltalk/squeak-object-memory/issues/156/[email protected]> Squeak-dev mailing list -- [email protected] To unsubscribe send an email to [email protected]