[Pkg] The Trunk: Collections-nice.270.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 1 00:17:35 UTC 2010

Nicolas Cellier uploaded a new version of Collections to project The Trunk:

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

Name: Collections-nice.270
Author: nice
Time: 1 January 2010, 1:17:25 am
UUID: 5b66ad19-fe20-4025-a9e3-8713fc034d9f
Ancestors: Collections-ar.269

Don't assign block argument with nil, with closure that is not necessary.

=============== Diff against Collections-ar.269 ===============

Item was changed:
  ----- Method: WeakArray class>>finalizationProcess (in category 'private') -----
  	[true] whileTrue:
  		[FinalizationSemaphore wait.
  		FinalizationLock critical:
  			[FinalizationDependents do:
  				[:weakDependent |
  				weakDependent ifNotNil:
+ 					[weakDependent finalizeValues]]]
- 					[weakDependent finalizeValues.
- 					"***Following statement is required to keep weakDependent
- 					from holding onto its value as garbage.***"
- 					weakDependent := nil]]]
  			[:msg :rcvr | rcvr error: msg].

More information about the Packages mailing list