New Cog VMs available

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

New Cog VMs available

Eliot Miranda-2

CogVM binaries as per VMMaker.oscog-eem.1331/r3364

General:
Merge with Pharo (with VMMaker.oscog-EstebanLorenzano.1322).  Changes are null
to Squeak VM.  Pulled in are conditionally compiled changes for directory &
file creation (added ceration permissions) and to macro used to read image
file (for iPhone).

Cogit:
Test the outerContext and method for sanity in the machine code closure value
primitive(s).  Spur must check to fail in the presence of forwarders.

To support the primitive provide TstCqR support on x86 (already exists on ARM),
and use it to implement genJumpImmediate: et al.

Use the new genJumpImmediate: et al in various basic access primitives.  Good
for a 5%-10% increase in 0 tinyBenchmarks on Spur.

Guard access to the inline cache tag in PICs in
GC routines by inlineCacheTagsMayBeObjects.

Spur:
Spur must follow forwarders in machine code before it follows forwarders in
stack pages (since stack page parsing examines methods).

Further, closed PICs that refer to unmarked objects must be discarded in
freeUnmarkedMachineCode.  And closedPICRefersToUnmarkedObject: should guard
against an immediate selector.
-- 
best,
Eliot