jstat -printcompilation pid
can get information about the last method that is compiled, like:
Compiled Size Type Method
207 64 1 java/lang/CharacterDataLatin1 toUpperCase
208 5 1 java/math/BigDecimal$StringBuilderHelper getCharArray
What's the third column mean? I can't find detail info about 'Type'. How many types inclued?
https://docs.oracle.com/javase/9/tools/jstat.htm#JSWOR734
oracle document dont' have enough info yet
The value in
Typecolumn corresponds to this enum:However, the values other than
normal_compileare available only in debug builds of the JVM when-XX:+CICountOSRor-XX:+CICountNativeoption is set:In practice this means that
Typeis always1with a regular JDK.