More hotspot tests and some backported fixes
Chuck.Rasbold at Sun.COM
Tue Sep 30 07:19:15 PDT 2008
There are about 100 tests in the "closed" compiler repository.
They are of widely varying quality and value. Some are good, others
awful. And while some are more exhaustive, many just test for a specific
The reason they are closed is because we didn't have the time to
verify the ownership of the code in every test so that Sun could
distribute it under OpenJDK.
We should really put it on our list of things to-do. Thanks for
On 09/30/08 00:32, Volker Simonis wrote:
> I think these kind of tests are intersting and usefull but
> unfortuantely, there are jus a small handfull of them available under
> "hotspot/test/compiler". Does anybody from SUN know if there are more
> of these hotspot/compiler kind of test avaialble within SUN which are
> just waiting to get open sourced?
> I think for porters they would be very interesting and helpfull.
> Especially tests which cover corner cases of the HotSpot like for
> - Java to Native transitions
> - Deoptimzations and OSR in various situations
> - above a compiled frame
> - above an interpreted frame
> - the various adapters (I2C, C2I, I2N,...)
> - the various calls (static, virtual, leaf, ...)
> - stack overflow situations
> - exception handling in various situations
> - JIT inlining
> - Synchronization (lightweight-, heavyweight-, biased locki
> Does anybody know if such kind of tests exist somewhere?
> On 9/26/08, Mark Wielaard <mark at klomp.org> wrote:
>> I noticed openjdk6 and openjdk7 seem to have a mutually exclusive set of
>> tests under hotspot/test/compiler. Since I believe having more tests is
>> a good thing I merged them in icedtea6. That uncovered two crasher bugs
>> in the hotspot form openjdk6 that we use. So I tracked down the fixes
>> for those and backported them (patches attached). All 20 tests now PASS.
>> It is probably a good idea to also merge the tests from 6 to 7. But I
>> haven't done that yet.
>> Note that again I did only backport for the hotspot from openjdk6, not
>> the one that zero/shark uses (7b24).
More information about the hotspot-compiler-dev