Anonymous | Login | 01-15-2021 17:48 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0007350 | [Squeak] Collections | minor | always | 05-06-09 22:08 | 02-06-11 23:48 | ||||
Reporter | nicolas cellier | View Status | public | ||||||
Assigned To | leves | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.10.2 | ||||||
Summary | 0007350: WeakSet tend to grow because they don't recycle nil slots | ||||||||
Description |
When objects are reclaimed, they are replaced with nil in the WeakSet array. However, due to implementation of #scanFor: these nilled-slots are never reused until the next WeakSet #grow. Adrian Lienhard reported a nice example at http://permalink.gmane.org/gmane.comp.lang.smalltalk.squeak.general/133778 [^] |
||||||||
Additional Information |
Beware, nil slot cannot be recycled without taking care of possible collisions as developped in the squeak-dev thread above. We must first take care to #fixCollisionsFrom: nilIndex. Please find a fix attempt below. To be tested extensively! |
||||||||
Attached Files |
![]() ![]() ![]() |
||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
54 total queries executed. 36 unique queries executed. |