[oe] OpenJDK-6 ARM Shark LLVM JIT testing

Xerxes Rånby xerxes at zafena.se
Wed Jul 14 17:37:03 UTC 2010


Hi all!

I have committed some ARM Shark CPU features auto-detection code into
oe.dev.
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=1ea15a2cd73178c3fbab36b544a6601b1d1c32bf
This patch will make OpenJDK use the best ARM CPU features available
when generating code using the Shark JIT.

To test shark build the openjdk-6 package and run your favorite java
application with the -shark switch.
java -shark foo

The Shark JIT uses LLVM for its in memory code generation and the
stability of Shark depends on
how much the LLVM JIT have been tested on various ARM CPUs.

I need your help in order to find and catch the LLVM JIT bugs by testing
running Shark and report if
LLVM asserts during code generation.

If LLVM asserts then you can help generate LLVM testcases by running
shark with this switch:
java -shark
-XX:SharkPrintBitcodeOf=insert::problematic:method::name::here foo
And attach the output in the report.

I have written a small guide on how to get Shark LLVM JIT CodeGen crash
bugs fixed:
http://labb.zafena.se/?p=362

Cheers and have a great day!
Xerxes








More information about the Openembedded-devel mailing list