Are Java native methods inlined ?

Nassim Halli nassim.halli at gmail.com
Wed Apr 27 09:12:07 UTC 2016


Hi guys,

Just a simple question : are Java native methods inlined ?

By "native methods" I mean the interface between the Java caller and the
targeted native JNI function in the dl (for which the JIT-compiled code can
be observed using *+PrintNativeNMethods)*.

I ask this question since I don't observe inlining with Java 8 and I heard
it was. Although I understand that it could not necessarily lead to great
improvements it's just for a clarification.

Thanks a lot !

Nassim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160427/f9dfde4e/attachment.html>


More information about the hotspot-compiler-dev mailing list