// Test infrastructure #include"jni_helper.h" #include"jvmti_helper.h" #include"test_env.h" #include"ti_macros.h"
namespace art { namespace Test925ThreadGroups {
// private static native Object[] getThreadGroupInfo(); // // Returns an array where element 0 is an array of threads and element 1 is an array of groups. // private static native Object[] getThreadGroupChildren();
// The priority. Use a string for simplicity of construction. case2: return env->NewStringUTF(android::base::StringPrintf("%d", info.max_priority).c_str());
// Whether it's a daemon. Use a string for simplicity of construction. case3: return env->NewStringUTF(info.is_daemon == JNI_TRUE ? "true" : "false");
}
LOG(FATAL) << "Should not reach here";
UNREACHABLE();
}; return CreateObjectArray(env, 4, "java/lang/Object", callback);
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.