Hello Luggers,


My query is withe respect to JAVA Native Interfcae (JNI) on Linux


A JNI call is an inproc or outproc call?


My thought: Its an inproc call.


Any java application has at least one instance of JVM (a process).


All the java byte code would be executed using functions in libjvm.so and other helper 
shared libs.


A System.loadLibrary() call will invoke some func in libjvm.so (or other helper) and 
do the task of making the said library available to the current JVM (I.e. the .so will 
be loaded in JVM process 's address space)


Thus a native method call would be an inprocess call.


Is my thinking correct?Indiatimes Email now powered by APIC Advantage. Help! 
HelpClick on the image to chat with me
-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to