When I read the java8 spec, I get the declaration that
At run time, a machine-code generator or optimizer can "inline" the body of a final method, replacing an invocation of the method with the code in its body.
https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.3.3
So my question is that does the hotspot really inline the final method?
Or, is there only the final method can be inlined?