RFC: PR690: Shark fails to JIT using hs20
Xerxes Rånby
xerxes at zafena.se
Wed Apr 20 03:28:31 PDT 2011
Hi the attached patches updates icedtea6-1.10 and icedtea6 trunk to make the Shark JIT work when using HotSpot 20 and later:
Before:
#Shark built against hs20 fails to JIT.
icedtea6-shark/openjdk.build/j2sdk-image/bin/java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.11pre+r0239a181c7a0+) (Ubuntu build
1.6.0_22-b22)
OpenJDK Shark VM (build 20.0-b11, mixed mode)
xerxes at xerxes-J464X:~/cm30$
../icedtea6-shark/openjdk.build/j2sdk-image/bin/java CaffeineMarkEmbeddedApp
Sieve score = 2648 (98)
Loop score = 1746 (2017)
Logic score = 2459 (0)
String score = 4048 (708)
Float score = 1836 (185)
Method score = 1490 (166650)
Overall score = 2238
After:
xerxes at xerxes-J464X:~/cm30$ ../icedtea6-shark-hs/openjdk.build/j2sdk-image/binava -showversion CaffeineMarkEmbeddedApp
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.11pre+r307d19e0cca0+) (Ubuntu build 1.6.0_22-b22)
OpenJDK Shark VM (build 20.0-b11, mixed mode)
Sieve score = 39462 (98)
Loop score = 54003 (2017)
Logic score = 71066 (0)
String score = 26256 (708)
Float score = 33218 (185)
Method score = 21011 (166650)
Overall score = 37487
I have tested these patches using the following three configurations:
../icedtea6-1.10/configure --enable-shark --disable-bootstrap --disable-docs --with-hotspot-build
../icedtea6/configure --enable-shark --disable-docs --disable-bootstrap
../icedtea6/configure --enable-shark --disable-bootstrap --disable-docs --with-hotspot-build
Ok to push to IcedTea6-1.10 release branch?
Ok to push to IcedTea6 trunk?
Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea6-pr690-shark-jit-hs20.patch
Type: text/x-patch
Size: 5098 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110420/0daaf4b2/icedtea6-pr690-shark-jit-hs20.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icedtea6-1.10-pr690-shark-jit-hs20.patch
Type: text/x-patch
Size: 5017 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110420/0daaf4b2/icedtea6-1.10-pr690-shark-jit-hs20.patch
More information about the distro-pkg-dev
mailing list