The Trunk: Environments-nice.67.mcz

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

The Trunk: Environments-nice.67.mcz

commits-2
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.
- '!