RFR: Fix shark for latest Hotspot and LLVM (original) (raw)

Roman Kennke rkennke at redhat.com
Wed Nov 21 09:31:34 PST 2012


Hi there,

during the last days I worked on fixing the Shark compiler for Hotspot to get it to build and run again, with the latest Hotspot code and LLVM. Here are some details:

I tested this by running a number of applications, most notably Eclipse (which is notoriously difficult on VMs), Java2Demo, SwingSet2 and a bunch of other stuff.

I would like to get this integrated into OpenJDK now if possible. You can find the full webrev here:

http://cr.openjdk.java.net/~rkennke/shark/webrev.00/

There are also a very minor change required in JDK:

http://cr.openjdk.java.net/~rkennke/shark/webrev-jdk-00/

In order to build it, apply the patches on hsx/hotspot-comp 's hotspot and jdk repositories respectivly. Find my build script here:

http://cr.openjdk.java.net/~rkennke/shark/Build8-zero-shark

(Review and adjust variables to your settings, most notably you will need to change LLVM_CONFIG to point to your LLVM 3.1 installation.)

Please let me know if there are any issues or how we can get this integrated into Hotspot.

Best regards, Roman



More information about the hotspot-dev mailing list