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 Mon, 17 Oct 2005 22:40:34 GMT
Testing the java memory model, and hence threading, is really tricky
and all I can think right now is some testing stuff Doug Lea released
regarding to java.util.concurrent. What I know is that a test to be
worth something, it must be done in a SMP machine. HyperThreading
helps a little, but in a UP setup getting the JMM right is a lot
easier.

For the rest I strongly suggest using Mauve, it can test a lot of the
classlib and would be nice to have only one FOSS testsuite for
classlibs.


For conformance of the JVM I think something simpler should be used,
just a way to call static methods of defined classes and gather the
result - no JNI used. Given that we could write very small tests that
could focus on specific implementation details.

I can write a prototype of such tool for bootjvm.

[]'s
Rodrigo



On 10/17/05, Apache Harmony Bootstrap JVM <bootjvm@earthlink.net> wrote:
>
> Robert,
>
> By all means!  What do you propose?  I need _everything_
> you have just mentioned.  Which areas are you interested in?
>
> One of the things that I have mentioned in the initial
> action item list (in file 'README') is that someone who
> knows the ins and outs of threading needs to go in and
> write some threading and synchronization test cases
> and exercise this part of the engine.  The source for
> these pieces is in 'jvm/src/thread*.[ch]' .  When I get
> the SVN repository behaving for me (SSH problems
> right now), I will be checking in the changes for the
> 0.0.1 release, which will be enough for someone to
> get started evaluating the code in a fairly final form.
> With the 0.0.2 release, the test cases will be able to
> be exercised.
>
> Dan Lydick
>
> -----Original Message-----
> From: Rodrigo Kumpera <kumpera@gmail.com>
> Sent: Oct 17, 2005 3:26 PM
> To: harmony-dev@incubator.apache.org
> Subject: Re: Changes to bootjvm 0.0.0 coming soon
>
> These are really good news Dan!
>
> I think we could start writing test code for the runtime functionality
> like proper null checks, array bounds, class initialization,
> synchronization and such.
>
>
> On 10/17/05, Apache Harmony Bootstrap JVM <bootjvm@earthlink.net> wrote:
> >
> > Everyone,
> >
> > I've been working hard on changes the bootjvm 0.0.0
> ...snip...
> >
> >
>
>

Mime
View raw message