[Pharo-project] Cog VM binaries as per VMMaker.oscog-eem.152/r2538.
eliot.miranda at gmail.com
Sat Mar 3 17:21:53 EST 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...
More information about the Pharo-dev