[squeak-dev] Error selector changed

Marcel Taeumel marcel.taeumel at hpi.de
Tue Apr 13 15:00:56 UTC 2021


Hi Levente,

good to know! Well, I know this pattern, just did not notice it got applied here. Even better that I got rid of #extern:.

Best,
Marcel
Am 13.04.2021 16:41:06 schrieb Levente Uzonyi <leves at caesar.elte.hu>:
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 :
>
> 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?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210413/554f7316/attachment.html>


More information about the Squeak-dev mailing list