[Vm-dev] VM Maker: VMMaker.oscog-eem.114.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Sun Aug 7 21:59:33 UTC 2011


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker.oscog-eem.114.mcz

==================== Summary ====================

Name: VMMaker.oscog-eem.114
Author: eem
Time: 7 August 2011, 12:37:27 pm
UUID: c9755705-e606-4e32-92f1-228c68774f30
Ancestors: VMMaker.oscog-eem.113

CoInterpreter: fix bad bug with primitiveClone of a compiled method.
The clone should be an uncogged method irrespective of the state of
the receiver.  Symptoms include rare crashes in become: during
MethodDIctionaryTest which copies a test method.  Fix by adding a
version of primitiveClone to CoInterpreterPrimitives.  Also change the
lastPointer*: methods use of literalCountOf: so the code is inlined.
Remove the now unnecessary overrides in newCoObjectMemory and
add an assert to headerOf: to spot stale references to cog methods.

Cogit: Fix potential bug in become: with cogged methods.  Since
become can cause an object to gain a new reference cogged methods
that gain new references must be added to youngReferrers.  Do this
by replacing inFullGC with gcMode and having a separate code path
for remapping machine code for become.  Add pre/postBecomeAction
methods to handle the necessary housekeeping.

Slang: builtins sent to interpreterProxy still need to be invoked on
interpreterProxy, i.e. interreterProxy->foo, not just foo.  Indent
statement lists emitted as expressions for readability.



More information about the Vm-dev mailing list