The return of the Shark, part II (howto)
November 28, 2012 10 Comments
So, finally, after some back and forth, the Shark fixes landed in hotspot-comp (thanks Twisti for reviewing and pushing me). It took a little while to sort out the new atomic operations in LLVM. If you want to play with it, you first need LLVM 3.2 (not the latest 3.1 release!):
svn co http://llvm.org/svn/llvm-project/llvm/branches/release_32/ llvm-3.2 cd llvm-3.2 ./configure && make && make install
Then you need to check out hotspot-comp:
cd .. hg clone http://hg.openjdk.java.net/hsx/hotspot-comp/ cd hotspot-comp sh get-source.sh
Finally, I recommend you use my build script for Shark: place it in the toplevel directoy of hotspot-comp and modify all the env variables to your needs. Most importantly, change LLVM_CONFIG to point to your $LLVM_INSTALL_DIR/bin/llvm-config. Enjoy the Shark!