new Cog VMs

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

new Cog VMs

Eliot Miranda-2
Hi All,

   please find new VMs in http://www.mirandabanda.org/files/Cog/VM/VM.r2585/.  These VMs try and fix an occasional crash (try because the fix doesn't handle all cases yet), and at least turn it into an orderly exit with error message (no room on youngReferrers list/youngReferrers list overflowed) instead of a hard crash.

------------------------------------------------------------------------
Cog VM binaries as per VMMaker.oscog-eem.201/r2585.

Make sure youngReferrersList has room for every method since become/cache
implicit receiver can cause any method to gain a young reference.  Do so
by counting methods in the zone.  Make overflowing the youngReferrers list
a hard error (appears to happen quite often in Newspeak code).

Fix assert in interpretMethodFromMachineCode.

Fix bug in changeClassFrom:to: if receiver is a compact class
instance with a large header.
--
best,
Eliot



Reply | Threaded
Open this post in threaded view
|

Re: new Cog VMs

Chris Muller-3
Woo hoo, thanks Eliot!  I'm excited to give this a try tonight.

On Tue, Aug 14, 2012 at 1:40 PM, Eliot Miranda <[hidden email]> wrote:

> Hi All,
>
>    please find new VMs in
> http://www.mirandabanda.org/files/Cog/VM/VM.r2585/.  These VMs try and fix
> an occasional crash (try because the fix doesn't handle all cases yet), and
> at least turn it into an orderly exit with error message (no room on
> youngReferrers list/youngReferrers list overflowed) instead of a hard crash.
>
> ------------------------------------------------------------------------
> Cog VM binaries as per VMMaker.oscog-eem.201/r2585.
>
> Make sure youngReferrersList has room for every method since become/cache
> implicit receiver can cause any method to gain a young reference.  Do so
> by counting methods in the zone.  Make overflowing the youngReferrers list
> a hard error (appears to happen quite often in Newspeak code).
>
> Fix assert in interpretMethodFromMachineCode.
>
> Fix bug in changeClassFrom:to: if receiver is a compact class
> instance with a large header.
> --
> best,
> Eliot
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: new Cog VMs

Chris Muller-3
In reply to this post by Eliot Miranda-2
Unfortunately it made no difference.  Cog crashes in the same place.  :(



On Tue, Aug 14, 2012 at 1:40 PM, Eliot Miranda <[hidden email]> wrote:

> Hi All,
>
>    please find new VMs in
> http://www.mirandabanda.org/files/Cog/VM/VM.r2585/.  These VMs try and fix
> an occasional crash (try because the fix doesn't handle all cases yet), and
> at least turn it into an orderly exit with error message (no room on
> youngReferrers list/youngReferrers list overflowed) instead of a hard crash.
>
> ------------------------------------------------------------------------
> Cog VM binaries as per VMMaker.oscog-eem.201/r2585.
>
> Make sure youngReferrersList has room for every method since become/cache
> implicit receiver can cause any method to gain a young reference.  Do so
> by counting methods in the zone.  Make overflowing the youngReferrers list
> a hard error (appears to happen quite often in Newspeak code).
>
> Fix assert in interpretMethodFromMachineCode.
>
> Fix bug in changeClassFrom:to: if receiver is a compact class
> instance with a large header.
> --
> best,
> Eliot
>
>
>
>



crash.dmp (12K) Download Attachment