javac has an interesting -O option:
javac
-O
Optimizes compiled code by inlining static, final and private methods. Note that your
It is a no-op according to a comment in the source code around line 553.
It was probably useful when the JIT compiler was not efficient yet or when there was no JIT compiler at all.