On Mon, 2009-11-16 at 16:32 +0100, Raffaello Giulietti wrote:
> Not directly related to the mlvm but just for my own curiosity:
> 
> * Is HotSpot able to inline JNI calls?
> * If so, what are the prerequisites?
> * Or are there plans to add this optimization?

C2 (not sure about C1) can inline (intrinsify) a couple of JNI methods
from the core library, like e.g. Class.getSuperclass().

But if you mean whether it can inline JNI methods you wrote, than the
answer is no.

-- Christian

_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to