Java arguments

 

java -XX:+PrintCompilation Main args

n - native method

s - synchronized method

% - native and run in (a special part of memory) the code cache

Next column is the tier level of the built-in compilers C1-C4, C4 compiles the most effective code, native opsystem code.

Writing out code cache size:

java -XX:+PrintCodeCache Main args
-XX:+InitialCodeCacheSize
-XX:+ReservedCodeCacheSize
-XX:+CodeCacheExpansionSize

JConsole can also show these values.

 

-XX:TieredCompilation

 

Show all running java application id

Jps

 

Info about compiler thread:

jinfo -flag CICompilerCount <pid>