My specific question is: do compilers inline the Static Final Interface code within other compiled methods? I've been out of the loop for a while on this type of optimization, and wanted to know if this is still performed.
javac
will not inline
anything - it does very little optimization anyway. The JIT
might inline that indeed, depending on the fact if that method is hot enough and can be inlined and no threshold has been reached.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With