harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodrigo Kumpera <kump...@gmail.com>
Subject Re: Changes to bootjvm 0.0.0 coming soon
Date Tue, 18 Oct 2005 13:52:43 GMT
This won´t help to find the spots that require memory barriers, as
these are only an issue on SMP systems. But your idea should not be
discarded as it may help with other kinds of problems.


On 10/17/05, Archie Cobbs <archie@dellroad.org> wrote:
> Apache Harmony Bootstrap JVM wrote:
> > For testing threading, I think the simpler the better.
>
> If Harmony contains a JIT, then it would probably be easy to
> configure the JIT to insert "context switch" instruction(s)
> between every two instructions it emits. Then we could write
> tests that attempt to trigger memory model violations and
> run thoses tests in this debug mode. That would go a long
> way towards gaining confidence in correctness.
>
> -Archie
>
> __________________________________________________________________________
> Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com
>

Mime
View raw message