[squeak-dev] The Trunk: Kernel-mt.1250.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jul 24 09:44:17 UTC 2019


Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1250.mcz

==================== Summary ====================

Name: Kernel-mt.1250
Author: mt
Time: 24 July 2019, 11:44:15.067109 am
UUID: 00753086-db4b-4706-bde7-c6d5ea190c04
Ancestors: Kernel-mt.1249

Speeds up deletion of class variables or shared pools.

=============== Diff against Kernel-mt.1249 ===============

Item was changed:
  ----- Method: Behavior>>whichSelectorsReferTo: (in category 'testing method dictionary') -----
  whichSelectorsReferTo: literal 
+ 	"Answer a Set of selectors whose methods access the argument as a literal. Note that we cannot use #systemNavigation because this method should not depend on the 'System' package."
- 	"Answer a Set of selectors whose methods access the argument as a literal."
  
+ 	| who canBeSpecial |
+ 	canBeSpecial := BytecodeEncoder canBeSpecialLiteral: literal.
- 	| who |
  	who := IdentitySet new.
  	self selectorsAndMethodsDo: [:selector :method |
+ 		(method hasLiteral: literal scanForSpecial: canBeSpecial)
- 		(method hasLiteral: literal)
  			ifTrue: [who add: selector]].
  	^ who
  
  	"Rectangle whichSelectorsReferTo: #+."!



More information about the Squeak-dev mailing list