/art/test/ti-stress/ |
D | stress.cc | 123 ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread) in ScopedThreadInfo() argument 124 : jvmtienv_(jvmtienv), env_(env), free_name_(false) { in ScopedThreadInfo() 128 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 156 ScopedClassInfo(jvmtiEnv* jvmtienv, jclass c) in ScopedClassInfo() argument 157 : jvmtienv_(jvmtienv), in ScopedClassInfo() 217 ScopedMethodInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m) in ScopedMethodInfo() argument 218 : jvmtienv_(jvmtienv), in ScopedMethodInfo() 289 ScopedFieldInfo(jvmtiEnv* jvmtienv, jclass field_klass, jfieldID field) in ScopedFieldInfo() argument 290 : jvmtienv_(jvmtienv), in ScopedFieldInfo() 355 static void doJvmtiMethodBind(jvmtiEnv* jvmtienv, in doJvmtiMethodBind() argument [all …]
|
/art/test/1909-per-agent-tls/src/art/ |
D | Test1909.java | 33 public long getTLS(long jvmtienv) { in getTLS() argument 34 return Test1909.getTLS(jvmtienv, this.thr); in getTLS() 36 public void setTLS(long jvmtienv, long ptr) { in setTLS() argument 37 Test1909.setTLS(jvmtienv, this.thr, ptr); in setTLS() 72 public long getTLS(long jvmtienv) { in getTLS() argument 73 return Test1909.getTLS(jvmtienv, this.thr); in getTLS() 75 public void setTLS(long jvmtienv, long ptr) { in setTLS() argument 76 Test1909.setTLS(jvmtienv, this.thr, ptr); in setTLS() 172 public static native long getTLS(long jvmtienv, Thread thr); in getTLS() argument 173 public static native void setTLS(long jvmtienv, Thread thr, long ptr); in setTLS() argument [all …]
|
/art/test/ti-agent/ |
D | common_helper.cc | 105 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value) { in GetJavaValue() argument 107 if (JvmtiErrorToException(env, jvmtienv, jvmtienv->GetMethodName(m, &fname, &fsig, &fgen))) { in GetJavaValue() 112 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fsig)); in GetJavaValue() 113 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fname)); in GetJavaValue() 114 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fgen)); in GetJavaValue()
|
D | jvmti_helper.cc | 110 bool JvmtiErrorToException(JNIEnv* env, jvmtiEnv* jvmtienv, jvmtiError error) { in JvmtiErrorToException() argument 122 CheckJvmtiError(jvmtienv, jvmtienv->GetErrorName(error, &err)); in JvmtiErrorToException() 126 Deallocate(jvmtienv, err); in JvmtiErrorToException()
|
D | common_helper.h | 31 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value);
|
D | jvmti_helper.h | 46 bool JvmtiErrorToException(JNIEnv* env, jvmtiEnv* jvmtienv, jvmtiError error);
|
/art/tools/jvmti-agents/ti-alloc-sample/ |
D | ti_alloc_sample.cc | 54 ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread) in ScopedThreadInfo() argument 55 : jvmtienv_(jvmtienv), env_(env), free_name_(false) { in ScopedThreadInfo() 58 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 86 ScopedClassInfo(jvmtiEnv* jvmtienv, jclass c) : jvmtienv_(jvmtienv), class_(c) {} in ScopedClassInfo() argument 158 ScopedMethodInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m) in ScopedMethodInfo() argument 159 : jvmtienv_(jvmtienv), env_(env), method_(m) {} in ScopedMethodInfo()
|
/art/test/1900-track-alloc/src/art/ |
D | Test1900.java | 138 private static native long doAllocate(long jvmtienv, long size); in doAllocate() argument 143 private static native void doDeallocate(long jvmtienv, long ptr); in doDeallocate() argument 150 private static native void destroyJvmtiEnv(long jvmtienv); in destroyJvmtiEnv() argument
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 131 ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread) in ScopedThreadInfo() argument 132 : jvmtienv_(jvmtienv), env_(env), free_name_(false) { in ScopedThreadInfo() 135 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo() 163 ScopedClassInfo(jvmtiEnv* jvmtienv, jclass c) : jvmtienv_(jvmtienv), class_(c) {} in ScopedClassInfo() argument 235 ScopedMethodInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m) in ScopedMethodInfo() argument 236 : jvmtienv_(jvmtienv), env_(env), method_(m) {} in ScopedMethodInfo()
|
/art/test/986-native-method-bind/ |
D | native_bind.cc | 56 static void doJvmtiMethodBind(jvmtiEnv* jvmtienv ATTRIBUTE_UNUSED, in doJvmtiMethodBind()
|