Differences between revisions 2 and 3
Revision 2 as of 2008-05-14 11:26:12
Size: 811
Revision 3 as of 2009-09-20 21:54:43
Size: 813
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[BR]][[BR]] <<BR>><<BR>>
Line 4: Line 4:
[[BR]] <<BR>>
Line 6: Line 6:
[[BR]][[BR]] <<BR>><<BR>>
Line 13: Line 13:
implementation file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32LightJNI.cpp?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32LightJNI.cpp] implementation file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32LightJNI.cpp?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32LightJNI.cpp]]

'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)