harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/light jni" by Mikhail Fursov
Date Mon, 12 May 2008 09:08:55 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/light_jni

New page:
''' 'light_jni' ''' - allows to call some predefined JNI methods directly, without use of
JNI stub.
[[BR]][[BR]]
If a JNI method does not use Java environment it can be called directly without creation of
JNI stub. 
[[BR]]
In this case NULL is passed as a parameter to a method instead of JNIEnv*.
[[BR]][[BR]]
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:

{{{
-XX:jit.arg.codegen.light_jni.light_jni_methods=my/Method.foo1,my/Method.foo2
}}}

Mime
View raw message