When a method defined in C is called from Java (using JNI), what are the methods that are invoked inside the JVM? What does the execution flow look like?
- i.e. consider a method
public native void display()
. When this method is called from the java code asobject.display()
, what are the internal JVM methods that are called as execution proceeds towards the native code? - Where can I find more documentation about this? Alternatively, which JVM function in the source can I look at and trace?