[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] Primitive 64 (primitiveStringAtPut) does not fail atomically (Issue #636)

David T Lewis notifications at github.com
Fri May 27 22:04:55 UTC 2022


The issue occurs with ByteString but not WideString, so "'aaa' asWideString tryPrimitive: 64 withArgs: {2. $b asciiValue}; yourself" does not show the problem, but "'aaa' copy tryPrimitive: 64 withArgs: {2. $b asciiValue}; yourself" shows the unexpected modification of the receiver.

Classic squeakvm also shows the expected behavior (the difference possibly related to Character not being immediate in the V3 object memory?).

But Cog VM with V3 image also shows the same problem, so it must not be directly related to V3 versus NewObjectMemory.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/636#issuecomment-1140069900
You are receiving this because you are subscribed to this thread.

Message ID: <OpenSmalltalk/opensmalltalk-vm/issues/636/1140069900 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220527/c94df4c7/attachment.html>


More information about the Vm-dev mailing list