[Vm-dev] Cog VM binaries as per VMMaker.oscog-eem.152/r2538.

Eliot Miranda eliot.miranda at gmail.com
Sat Mar 3 22:21:53 UTC 2012

Cog VM binaries as per
Fix tricky context state bug that can cause crashes in the GC.
Contextpart>runUntilErrorOrReturnFrom: may pop the last argument.
Hence if a frame is married in this state its spouse context won't have
its last argument slot initialized.  If later the frame is divorced and the
arguments are not updated the last argument slot can be left with this
uninitialized slot and ... bang.
The solution is to update arguments as well as stack contents when
divorcing.  This is good also because it removes the VM's assumption
that method arguments are read-only, and that's only enforced by the
Smalltalk bytecode compiler, not by the bytecode.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120303/6bfdd38d/attachment.htm

More information about the Vm-dev mailing list