netcome 发表于 2013-1-15 02:27:03

Debugging the JNI

<span style="font-family: Arial, sans-serif; font-size: 13px;">If you think you have a JNI problem, there are checks you can run to help you diagnose the JNI transitions.
<div style="margin-top: 0.3em;" class="p">Errors in JNI code can occur in several ways:

[*]The program crashes during execution of a native method (most common).
[*]The program crashes some time after returning from the native method, often during GC (not so common).
[*]Bad JNI code causes deadlocks shortly after returning from a native method (occasional).
页: [1]
查看完整版本: Debugging the JNI