Skip to content

Instantly share code, notes, and snippets.

View jyukutyo's full-sized avatar

Koichi Sakata jyukutyo

View GitHub Profile
@jyukutyo
jyukutyo / Notes.md
Last active August 29, 2015 14:07 — forked from chrisvest/Notes.md

About PrintCompilation

This note tries to document the output of PrintCompilation flag in HotSpot VM. It was originally intended to be a reply to a blog post on PrintCompilation from Stephen Colebourne. It's kind of grown too big to fit as a reply, so I'm putting it here.

Written by: Kris Mok rednaxelafx@gmail.com

Most of the contents in this note are based on my reading of HotSpot source code from OpenJDK and experimenting with the VM flags; otheres come from HotSpot mailing lists and other reading materials listed in the "References" section.

This

#!/bin/sh
if [ ! -f /tmp/quickwar.xml ]
then
wget --no-check-certificate -O /tmp/quickwar.xml https://raw.github.com/gist/3401499/aea7940a07739ff297deeeccf7385d6d2a2f29c3/pom.xml
fi
sed -E "s?<webAppSourceDirectory>.*</webAppSourceDirectory>?<webAppSourceDirectory>`pwd`</webAppSourceDirectory>?g" /tmp/quickwar.xml >/tmp/quickwar_replaced.xml
mvn -f /tmp/quickwar_replaced.xml jetty:run