dump localReference 表

先记录一下,后面补充

    //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);

 

你可能感兴趣的:(NDK开发)