[squeak-dev] The Trunk: Environments-nice.67.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 14 19:23:11 UTC 2016


Nicolas Cellier uploaded a new version of Environments to project The Trunk:
http://source.squeak.org/trunk/Environments-nice.67.mcz

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

Name: Environments-nice.67
Author: nice
Time: 14 December 2016, 8:23:09.348821 pm
UUID: 0ba4d46a-6760-4902-b436-3fbb7b79a684
Ancestors: Environments-nice.66

Nuke the transition method and the transition postscript to make Undeclared Weak.

=============== Diff against Environments-nice.66 ===============

Item was removed:
- ----- Method: Environment>>makeUndeclaredWeak (in category 'private') -----
- makeUndeclaredWeak
- 	"This message is for transition only"
- 	| weakUndeclared |
- 	undeclared class = WeakIdentityDictionary ifTrue: [^self].
- 	weakUndeclared := WeakIdentityDictionary new: undeclared size.
- 	weakUndeclared addAll: undeclared associations.
- 	undeclared becomeForward: weakUndeclared!

Item was removed:
- (PackageInfo named: 'Environments') postscript: '"Undeclared should point weakly to its bindings
- so as to reduce namespace pollution."
- 
- Environment allInstancesDo: [:e | e makeUndeclaredWeak].
- Smalltalk garbageCollect.
- '!



More information about the Squeak-dev mailing list