[Vm-dev] New Cog VMs available

Eliot Miranda eliot.miranda at gmail.com
Mon May 11 03:28:44 UTC 2015


at http://www.mirandabanda.org/files/Cog/VM/VM.r3332/.

CogVM binaries as per VMMaker.oscog-eem.1298/r3332

NewspeakVM:
Thread lookup rule through from bytecodes to internalFindNewMethod:.

Fix genInnerPrimitiveMirrorNewWithArg:.  Class's hash was being accessed
twice,
reusing variable holding jump instruction.

Fix primitiveClass and genPrimitiveClass for mirror case (arg count = 1).
Also
fix Newspeak primitive table to allow nargs > 0 for genPrimitiveClass.

General:
Fix a regression in externalInstVar:ofContext:.  The head frame pointers
must
be written back if we're going to map a machince code pc to a bytecode pc in
case of code reclamation.  Add asserts to the stack page enumerators to
check
that the head frame pointers have been written back.

Fix changeClass: for forwwarded receivers.

Use macros for the oop comparisons, avoiding cCoerce:, to get faster
simulation
and avoid the inliner not inlining in conditionals.

Spur:
Change computeRefCountToShrinkRT to
- compute the ref counts and population in a single pass over the RT
- determine the ref count for tenuring based on half the population of
  remembered objects, /not/ half the size of the RT.
-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150510/295eb2c2/attachment.htm


More information about the Vm-dev mailing list