I am going through the JIT HotSpot compiler logs (-XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+PrintInlining
) to make sure an important/hot method is being optimized/compiled. The method shows:
already compiled into a big method
What does that mean? Is my method being correctly optimized/inlined by JIT?
This explanation from the Oracle wiki did not take me to any conclusion:
already compiled into a big method: there is already compiled code for the method that is called from the call site and the code that was generated for is larger than InlineSmallCode
What does that mean? Does it mean my code was optimized/inlined or the HotSpot is now skipping it because it is compiled somewhere else?
hot (inlined)
in the logs but alsoalready compiled into a big method
in other places for the same method. Could it be that one of the callers of my method is too big and because of that it is not including my hot method? – Ventriloquism