Home
last modified time | relevance | path

Searched refs:jvmtienv (Results 1 – 9 of 9) sorted by relevance

/art/test/ti-stress/
Dstress.cc123 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/
DTest1909.java33 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/
Dcommon_helper.cc105 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()
Djvmti_helper.cc109 bool JvmtiErrorToException(JNIEnv* env, jvmtiEnv* jvmtienv, jvmtiError error) { in JvmtiErrorToException() argument
121 CheckJvmtiError(jvmtienv, jvmtienv->GetErrorName(error, &err)); in JvmtiErrorToException()
125 Deallocate(jvmtienv, err); in JvmtiErrorToException()
Dcommon_helper.h31 jobject GetJavaValue(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m, jvalue value);
Djvmti_helper.h46 bool JvmtiErrorToException(JNIEnv* env, jvmtiEnv* jvmtienv, jvmtiError error);
/art/test/1900-track-alloc/src/art/
DTest1900.java138 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/
Dtifast.cc134 ScopedThreadInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jthread thread) in ScopedThreadInfo() argument
135 : jvmtienv_(jvmtienv), env_(env), free_name_(false) { in ScopedThreadInfo()
138 } else if (jvmtienv->GetThreadInfo(thread, &info_) != JVMTI_ERROR_NONE) { in ScopedThreadInfo()
166 ScopedClassInfo(jvmtiEnv* jvmtienv, jclass c) : jvmtienv_(jvmtienv), class_(c) {} in ScopedClassInfo() argument
238 ScopedMethodInfo(jvmtiEnv* jvmtienv, JNIEnv* env, jmethodID m) in ScopedMethodInfo() argument
239 : jvmtienv_(jvmtienv), env_(env), method_(m) {} in ScopedMethodInfo()
/art/test/986-native-method-bind/
Dnative_bind.cc56 static void doJvmtiMethodBind(jvmtiEnv* jvmtienv ATTRIBUTE_UNUSED, in doJvmtiMethodBind()