How to find which methods are being compiled to native byte code by compiler.
-XX:+PrintCompilation
There are two level of compiler in java C1 and C2
-XX+UnlockDiagnosticVMOptions
,-XX:+LogCompilation
to output compilation log to a file in xml format.Code Cache Tuning
-XX:+PrintCodeCache
to print existing code cache sizes-XX:+ReservedCodeCacheSize=28m
to set maximum code cache sizejconsole
is used to monitor jvm