[squeak-dev] Error selector changed

Levente Uzonyi leves at caesar.elte.hu
Tue Apr 13 14:40:59 UTC 2021


Hi Marcel,

To ensure consistency and thread safety without using a mutex, the 
two WeakSets which make up the symbol table are treated as if they were 
immutable.
Removing from them without creating a copy just breaks that contract.


Levente

On Tue, 13 Apr 2021, Marcel Taeumel wrote:

> Maybe unrelated, but I will remove that extension "Symbol >> #extern:", which manipulates the symbol tables for a single test in CompilerExceptionTest, present since March 2020. I think that 1) garbage collection should take
> care of unused symbols and 2) test can find a better way to produce "unknown symbols" :-)
> Best,
> Marcel
>
>       Am 13.04.2021 07:16:48 schrieb Chris Muller <asqueaker at gmail.com>:
>
>             For those wondering, the problem is that some Symbol get duplicated
>             violating the contract:
>             any two Symbols are either identical (==) or different (~=).
> 
> 
> Possible become without copyHash? 
> 
> 
>


More information about the Squeak-dev mailing list