Skip to content

Instantly share code, notes, and snippets.

@kirkch
Last active December 15, 2015 05:49
Show Gist options
  • Save kirkch/5211438 to your computer and use it in GitHub Desktop.
Save kirkch/5211438 to your computer and use it in GitHub Desktop.
Useful JVM Settings (Oracle VM)
Native Compilation Options
-----------------------
XX:+PrintCompilation Prints out when HotSpot stops the world to compile a method into native code
-XX:CompileThreshold=1000 Sets the number of invocations required before a method will be considered for compilation.
Trades off startup time and resources for speed. -client sets this to 1500, -server runs with 10,000
(http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment