Fix unlikely but possible race in `WeakValueDictionary`
It may happen that value in `valueArray` could have been already
collected by the GC but #clearDeadSlots have not yet been called.
When this happened, `#at:ifAbsentPut:` returned tombstone rather
than updating the dictionary with value from block.
This commit fixes this by checking whether `valueArray` contain
the tombstone and if so, clearing up the dead slots and restarting
the operation. HTH.
"{ Package: 'stx:libbasic' }"
Warning subclass:#ClassBuildWarning
instanceVariableNames:'className'
classVariableNames:''
poolDictionaries:''
category:'Kernel-Support'
!
!ClassBuildWarning methodsFor:'accessing'!
className:aSymbol
className := aSymbol.
! !
!ClassBuildWarning class methodsFor:'documentation'!
version
^ '$Header: /cvs/stx/stx/libbasic/ClassBuildWarning.st,v 1.1 2014-05-13 22:11:40 cg Exp $'
!
version_CVS
^ '$Header: /cvs/stx/stx/libbasic/ClassBuildWarning.st,v 1.1 2014-05-13 22:11:40 cg Exp $'
! !