'light_jni' - allows to call some predefined JNI methods directly, without use of JNI stub.

If a JNI method does not use Java environment it can be called directly without creation of JNI stub.
In this case NULL is passed as a parameter to a method instead of JNIEnv*.

By default the optimization works only for hardcoded set of known methods. To make it work for your method, use the following command line option:


implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32LightJNI.cpp

Jitrino_OPT/light_jni (last edited 2009-09-20 21:54:43 by localhost)