Zero and IcedTea7

Andrew John Hughes gnu_andrew at member.fsf.org
Wed Sep 30 02:26:12 PDT 2009


2009/9/29 Gary Benson <gbenson at redhat.com>:
> Andrew John Hughes wrote:
>> I had to do some hacking on Zero to get it to work with the latest
>> HotSpot (hs17b01) including a fix to
>> http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/8b46c4d82093 which
>> has now been committed to hotspot-gc and turning off compressed oops
>> for Zero (it's now on by default, as is escape analysis).
>
> The code to turn off compressed oops should be in the very latest
> webrev (http://cr.openjdk.java.net/~gbenson/zero-10/).  Did you have
> to do more to disable it?
>

It is disabled by default, as Zero won't build without this.  As you
mention below, these tests turn it on explicitly and fail.

>> The Zero-specific failures are:
>>
>> Unexpected exit from test [exit code: 134]
>> compiler/6711117/Test.java : Assertion in 64bit server vm (flat !=
>> TypePtr::BOTTOM,"cannot alias-analyze an untyped ptr")
>> compiler/6826736/Test.java : CMS: core dump with -XX:+UseCompressedOops
>> compiler/6849574/Test.java : VM crash using NonBlockingHashMap (high_scale_lib)
>> compiler/6851282/Test.java : JIT miscompilation results in null entry
>> in array when using CompressedOops
>> Unexpected exit from test [exit code: 1]
>> compiler/6795161/Test.java : Escape analysis leads to data corruption
>> compiler/6865031/Test.java : Application gives bad result (throws bad
>> exception) with compressed oops
>
> I guess we should force escape analysis off too.  The tests mentioning
> compressed oops must be turning it on with -XX:+UseCompressedOops.
> The turning off code in zero-10 only affects the default I think;
> should we change it to force it off?
>

The escape analysis problem seems to be one of not recognising the
option.  The same with LoopSwitching.  All three look like features we
need to decide either to support or force off for Zero.

I'm more worried by the two errors and the assertion failure which
don't seem to be related to any of these new features.   I've uploaded
the results to http://fuseyism.com/hotspot17-zero/ if you want to take
a look.

>> I have yet to try Shark with the new build drop.
>
> There are a couple of changes that will need migrating from icedtea6,
> notably that one of the classes has had its name changed.
>

Ok, which class?

> Cheers,
> Gary
>
> --
> http://gbenson.net/
>

Thanks,
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list