jni performance

guideline

1.buffer size :>128k is prefered

2. decrease  invocation call

3. use directbytebuffer

4. prefer primitive parameter

5. decrease interaction between other side

6. decrease method(field) look up


read kfs code.

你可能感兴趣的:(jni,UP,performance)