New Cog VMs available

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

New Cog VMs available

Eliot Miranda-2
... at http://www.mirandabanda.org/files/Cog/VM/VM.r3048.

CogVM source as per VMMaker.oscog-eem.826/r3048

Fix the ZipPlugin (InflatePlugin&DeflatePlugin) to no longer depend on specific
instance sizes for ReadStream and WriteStream which allows some leniency in
redefining these classes.  Fixes occasionaly Monticello commit bugs with
large packages after loading Collections-eem.567.

Fix compilation warnings in stringForCString:

Add a -warnpid flag that causes warning to print the pid;
useful in debugging multi-image tests (i.e. magma).

Reimplement the backward count in interpreted methods, storing the count
in IFrameFlags, hence eliminating the requirement that the jump happens
consecutively N times in a single method with no backward jumps in any other
method.  The Chameneos benchmark has this pattern and so two methods don't
get jitted.  This eliminates lastBackwardJumpMethod & backwardJumpCount.

Spur:
Fix bad bug in remapObj: that confused the test for old vs
new and hence tried to copyAndForward old objects.

Fix bug in processWeaklings that could remember a weak object twice.

Mark the methods used by SpurMemoryManager>>globalGarbageCollect as
inline: #never for profiling.

Spur Newspeak:
Initialize numIRCs before checking for quick prims.


--
best,
Eliot
Reply | Threaded
Open this post in threaded view
|

Re: New Cog VMs available

stepharo
Thanks eliot.
This is cool to see all these fixes and progress from the VM side.

Stef

On 19/7/14 04:04, Eliot Miranda wrote:

> ... at http://www.mirandabanda.org/files/Cog/VM/VM.r3048.
>
> CogVM source as per VMMaker.oscog-eem.826/r3048
>
> Fix the ZipPlugin (InflatePlugin&DeflatePlugin) to no longer depend on
> specific
> instance sizes for ReadStream and WriteStream which allows some
> leniency in
> redefining these classes.  Fixes occasionaly Monticello commit bugs with
> large packages after loading Collections-eem.567.
>
> Fix compilation warnings in stringForCString:
>
> Add a -warnpid flag that causes warning to print the pid;
> useful in debugging multi-image tests (i.e. magma).
>
> Reimplement the backward count in interpreted methods, storing the count
> in IFrameFlags, hence eliminating the requirement that the jump happens
> consecutively N times in a single method with no backward jumps in any
> other
> method.  The Chameneos benchmark has this pattern and so two methods don't
> get jitted.  This eliminates lastBackwardJumpMethod & backwardJumpCount.
>
> Spur:
> Fix bad bug in remapObj: that confused the test for old vs
> new and hence tried to copyAndForward old objects.
>
> Fix bug in processWeaklings that could remember a weak object twice.
>
> Mark the methods used by SpurMemoryManager>>globalGarbageCollect as
> inline: #never for profiling.
>
> Spur Newspeak:
> Initialize numIRCs before checking for quick prims.
>
>
> --
> best,
> Eliot