dump localReferenceテーブル

402 ワード

先に記録して、後で補充します
    //test
    LOGI("dump localReference");
    jclass vm_class = (*env)->FindClass(env, "dalvik/system/VMDebug");
    jmethodID dump_mid = (*env)->GetStaticMethodID(env, vm_class, "dumpReferenceTables", "()V");
    (*env)->CallStaticVoidMethod(env, vm_class, dump_mid);
    (*env)->DeleteLocalRef(env, vm_class);