Lines Matching refs:jvmtiError

100   static jvmtiError getEnvironmentError(jvmtiEnv* env) {  in getEnvironmentError()
112 jvmtiError ensure_valid_env_ ## __LINE__ = getEnvironmentError(env); \
126 static jvmtiError Allocate(jvmtiEnv* env, jlong size, unsigned char** mem_ptr) { in Allocate()
127 jvmtiError err = getEnvironmentError(env); in Allocate()
136 static jvmtiError Deallocate(jvmtiEnv* env, unsigned char* mem) { in Deallocate()
137 jvmtiError err = getEnvironmentError(env); in Deallocate()
145 static jvmtiError GetThreadState(jvmtiEnv* env, jthread thread, jint* thread_state_ptr) { in GetThreadState()
150 static jvmtiError GetCurrentThread(jvmtiEnv* env, jthread* thread_ptr) { in GetCurrentThread()
155 static jvmtiError GetAllThreads(jvmtiEnv* env, jint* threads_count_ptr, jthread** threads_ptr) { in GetAllThreads()
160 static jvmtiError SuspendThread(jvmtiEnv* env, jthread thread) { in SuspendThread()
166 static jvmtiError SuspendThreadList(jvmtiEnv* env, in SuspendThreadList()
169 jvmtiError* results) { in SuspendThreadList()
175 static jvmtiError ResumeThread(jvmtiEnv* env, jthread thread) { in ResumeThread()
181 static jvmtiError ResumeThreadList(jvmtiEnv* env, in ResumeThreadList()
184 jvmtiError* results) { in ResumeThreadList()
190 static jvmtiError StopThread(jvmtiEnv* env, jthread thread, jobject exception) { in StopThread()
196 static jvmtiError InterruptThread(jvmtiEnv* env, jthread thread) { in InterruptThread()
202 static jvmtiError GetThreadInfo(jvmtiEnv* env, jthread thread, jvmtiThreadInfo* info_ptr) { in GetThreadInfo()
207 static jvmtiError GetOwnedMonitorInfo(jvmtiEnv* env, in GetOwnedMonitorInfo()
219 static jvmtiError GetOwnedMonitorStackDepthInfo(jvmtiEnv* env, in GetOwnedMonitorStackDepthInfo()
231 static jvmtiError GetCurrentContendedMonitor(jvmtiEnv* env, in GetCurrentContendedMonitor()
239 static jvmtiError RunAgentThread(jvmtiEnv* env, in RunAgentThread()
248 static jvmtiError SetThreadLocalStorage(jvmtiEnv* env, jthread thread, const void* data) { in SetThreadLocalStorage()
253 static jvmtiError GetThreadLocalStorage(jvmtiEnv* env, jthread thread, void** data_ptr) { in GetThreadLocalStorage()
258 static jvmtiError GetTopThreadGroups(jvmtiEnv* env, in GetTopThreadGroups()
265 static jvmtiError GetThreadGroupInfo(jvmtiEnv* env, in GetThreadGroupInfo()
272 static jvmtiError GetThreadGroupChildren(jvmtiEnv* env, in GetThreadGroupChildren()
287 static jvmtiError GetStackTrace(jvmtiEnv* env, in GetStackTrace()
302 static jvmtiError GetAllStackTraces(jvmtiEnv* env, in GetAllStackTraces()
310 static jvmtiError GetThreadListStackTraces(jvmtiEnv* env, in GetThreadListStackTraces()
323 static jvmtiError GetFrameCount(jvmtiEnv* env, jthread thread, jint* count_ptr) { in GetFrameCount()
328 static jvmtiError PopFrame(jvmtiEnv* env, jthread thread) { in PopFrame()
334 static jvmtiError GetFrameLocation(jvmtiEnv* env, in GetFrameLocation()
343 static jvmtiError NotifyFramePop(jvmtiEnv* env, jthread thread, jint depth) { in NotifyFramePop()
349 static jvmtiError ForceEarlyReturnObject(jvmtiEnv* env, jthread thread, jobject value) { in ForceEarlyReturnObject()
355 static jvmtiError ForceEarlyReturnInt(jvmtiEnv* env, jthread thread, jint value) { in ForceEarlyReturnInt()
361 static jvmtiError ForceEarlyReturnLong(jvmtiEnv* env, jthread thread, jlong value) { in ForceEarlyReturnLong()
367 static jvmtiError ForceEarlyReturnFloat(jvmtiEnv* env, jthread thread, jfloat value) { in ForceEarlyReturnFloat()
373 static jvmtiError ForceEarlyReturnDouble(jvmtiEnv* env, jthread thread, jdouble value) { in ForceEarlyReturnDouble()
379 static jvmtiError ForceEarlyReturnVoid(jvmtiEnv* env, jthread thread) { in ForceEarlyReturnVoid()
385 static jvmtiError FollowReferences(jvmtiEnv* env, in FollowReferences()
402 static jvmtiError IterateThroughHeap(jvmtiEnv* env, in IterateThroughHeap()
413 static jvmtiError GetTag(jvmtiEnv* env, jobject object, jlong* tag_ptr) { in GetTag()
431 static jvmtiError SetTag(jvmtiEnv* env, jobject object, jlong tag) { in SetTag()
451 static jvmtiError GetObjectsWithTags(jvmtiEnv* env, in GetObjectsWithTags()
474 static jvmtiError ForceGarbageCollection(jvmtiEnv* env) { in ForceGarbageCollection()
479 static jvmtiError IterateOverObjectsReachableFromObject( in IterateOverObjectsReachableFromObject()
489 static jvmtiError IterateOverReachableObjects( in IterateOverReachableObjects()
500 static jvmtiError IterateOverHeap(jvmtiEnv* env, in IterateOverHeap()
509 static jvmtiError IterateOverInstancesOfClass( in IterateOverInstancesOfClass()
522 static jvmtiError GetLocalObject(jvmtiEnv* env, in GetLocalObject()
532 static jvmtiError GetLocalInstance(jvmtiEnv* env, in GetLocalInstance()
541 static jvmtiError GetLocalInt(jvmtiEnv* env, in GetLocalInt()
551 static jvmtiError GetLocalLong(jvmtiEnv* env, in GetLocalLong()
561 static jvmtiError GetLocalFloat(jvmtiEnv* env, in GetLocalFloat()
571 static jvmtiError GetLocalDouble(jvmtiEnv* env, in GetLocalDouble()
581 static jvmtiError SetLocalObject(jvmtiEnv* env, in SetLocalObject()
591 static jvmtiError SetLocalInt(jvmtiEnv* env, in SetLocalInt()
601 static jvmtiError SetLocalLong(jvmtiEnv* env, in SetLocalLong()
611 static jvmtiError SetLocalFloat(jvmtiEnv* env, in SetLocalFloat()
621 static jvmtiError SetLocalDouble(jvmtiEnv* env, in SetLocalDouble()
632 static jvmtiError SetBreakpoint(jvmtiEnv* env, jmethodID method, jlocation location) { in SetBreakpoint()
638 static jvmtiError ClearBreakpoint(jvmtiEnv* env, jmethodID method, jlocation location) { in ClearBreakpoint()
644 static jvmtiError SetFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in SetFieldAccessWatch()
650 static jvmtiError ClearFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in ClearFieldAccessWatch()
656 static jvmtiError SetFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in SetFieldModificationWatch()
662 static jvmtiError ClearFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field) { in ClearFieldModificationWatch()
668 static jvmtiError GetLoadedClasses(jvmtiEnv* env, jint* class_count_ptr, jclass** classes_ptr) { in GetLoadedClasses()
674 static jvmtiError GetClassLoaderClasses(jvmtiEnv* env, in GetClassLoaderClasses()
682 static jvmtiError GetClassSignature(jvmtiEnv* env, in GetClassSignature()
690 static jvmtiError GetClassStatus(jvmtiEnv* env, jclass klass, jint* status_ptr) { in GetClassStatus()
695 static jvmtiError GetSourceFileName(jvmtiEnv* env, jclass klass, char** source_name_ptr) { in GetSourceFileName()
701 static jvmtiError GetClassModifiers(jvmtiEnv* env, jclass klass, jint* modifiers_ptr) { in GetClassModifiers()
706 static jvmtiError GetClassMethods(jvmtiEnv* env, in GetClassMethods()
714 static jvmtiError GetClassFields(jvmtiEnv* env, in GetClassFields()
722 static jvmtiError GetImplementedInterfaces(jvmtiEnv* env, in GetImplementedInterfaces()
730 static jvmtiError GetClassVersionNumbers(jvmtiEnv* env, in GetClassVersionNumbers()
738 static jvmtiError GetConstantPool(jvmtiEnv* env, in GetConstantPool()
748 static jvmtiError IsInterface(jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr) { in IsInterface()
753 static jvmtiError IsArrayClass(jvmtiEnv* env, in IsArrayClass()
760 static jvmtiError IsModifiableClass(jvmtiEnv* env, in IsModifiableClass()
767 static jvmtiError GetClassLoader(jvmtiEnv* env, jclass klass, jobject* classloader_ptr) { in GetClassLoader()
772 static jvmtiError GetSourceDebugExtension(jvmtiEnv* env, in GetSourceDebugExtension()
780 static jvmtiError RetransformClasses(jvmtiEnv* env, jint class_count, const jclass* classes) { in RetransformClasses()
786 static jvmtiError RedefineClasses(jvmtiEnv* env, in RedefineClasses()
794 static jvmtiError GetObjectSize(jvmtiEnv* env, jobject object, jlong* size_ptr) { in GetObjectSize()
799 static jvmtiError GetObjectHashCode(jvmtiEnv* env, jobject object, jint* hash_code_ptr) { in GetObjectHashCode()
804 static jvmtiError GetObjectMonitorUsage(jvmtiEnv* env, in GetObjectMonitorUsage()
812 static jvmtiError GetFieldName(jvmtiEnv* env, in GetFieldName()
822 static jvmtiError GetFieldDeclaringClass(jvmtiEnv* env, in GetFieldDeclaringClass()
830 static jvmtiError GetFieldModifiers(jvmtiEnv* env, in GetFieldModifiers()
838 static jvmtiError IsFieldSynthetic(jvmtiEnv* env, in IsFieldSynthetic()
847 static jvmtiError GetMethodName(jvmtiEnv* env, in GetMethodName()
856 static jvmtiError GetMethodDeclaringClass(jvmtiEnv* env, in GetMethodDeclaringClass()
863 static jvmtiError GetMethodModifiers(jvmtiEnv* env, in GetMethodModifiers()
870 static jvmtiError GetMaxLocals(jvmtiEnv* env, in GetMaxLocals()
877 static jvmtiError GetArgumentsSize(jvmtiEnv* env, in GetArgumentsSize()
884 static jvmtiError GetLineNumberTable(jvmtiEnv* env, in GetLineNumberTable()
893 static jvmtiError GetMethodLocation(jvmtiEnv* env, in GetMethodLocation()
901 static jvmtiError GetLocalVariableTable(jvmtiEnv* env, in GetLocalVariableTable()
910 static jvmtiError GetBytecodes(jvmtiEnv* env, in GetBytecodes()
919 static jvmtiError IsMethodNative(jvmtiEnv* env, jmethodID method, jboolean* is_native_ptr) { in IsMethodNative()
924 static jvmtiError IsMethodSynthetic(jvmtiEnv* env, jmethodID method, jboolean* is_synthetic_ptr) { in IsMethodSynthetic()
930 static jvmtiError IsMethodObsolete(jvmtiEnv* env, jmethodID method, jboolean* is_obsolete_ptr) { in IsMethodObsolete()
935 static jvmtiError SetNativeMethodPrefix(jvmtiEnv* env, const char* prefix ATTRIBUTE_UNUSED) { in SetNativeMethodPrefix()
941 static jvmtiError SetNativeMethodPrefixes(jvmtiEnv* env, in SetNativeMethodPrefixes()
949 static jvmtiError CreateRawMonitor(jvmtiEnv* env, const char* name, jrawMonitorID* monitor_ptr) { in CreateRawMonitor()
954 static jvmtiError DestroyRawMonitor(jvmtiEnv* env, jrawMonitorID monitor) { in DestroyRawMonitor()
959 static jvmtiError RawMonitorEnter(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorEnter()
964 static jvmtiError RawMonitorExit(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorExit()
969 static jvmtiError RawMonitorWait(jvmtiEnv* env, jrawMonitorID monitor, jlong millis) { in RawMonitorWait()
974 static jvmtiError RawMonitorNotify(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorNotify()
979 static jvmtiError RawMonitorNotifyAll(jvmtiEnv* env, jrawMonitorID monitor) { in RawMonitorNotifyAll()
984 static jvmtiError SetJNIFunctionTable(jvmtiEnv* env, const jniNativeInterface* function_table) { in SetJNIFunctionTable()
989 static jvmtiError GetJNIFunctionTable(jvmtiEnv* env, jniNativeInterface** function_table) { in GetJNIFunctionTable()
996 static jvmtiError SetEventCallbacks(jvmtiEnv* env, in SetEventCallbacks()
1028 static jvmtiError SetEventNotificationMode(jvmtiEnv* env, in SetEventNotificationMode()
1041 static jvmtiError GenerateEvents(jvmtiEnv* env, in GenerateEvents()
1047 static jvmtiError GetExtensionFunctions(jvmtiEnv* env, in GetExtensionFunctions()
1056 static jvmtiError GetExtensionEvents(jvmtiEnv* env, in GetExtensionEvents()
1065 static jvmtiError SetExtensionEventCallback(jvmtiEnv* env, in SetExtensionEventCallback()
1118 static jvmtiError GetPotentialCapabilities(jvmtiEnv* env, jvmtiCapabilities* capabilities_ptr) { in GetPotentialCapabilities()
1136 static jvmtiError AddCapabilities(jvmtiEnv* env, const jvmtiCapabilities* capabilities_ptr) { in AddCapabilities()
1140 jvmtiError ret = OK; in AddCapabilities()
1169 static jvmtiError RelinquishCapabilities(jvmtiEnv* env, in RelinquishCapabilities()
1195 static jvmtiError GetCapabilities(jvmtiEnv* env, jvmtiCapabilities* capabilities_ptr) { in GetCapabilities()
1203 static jvmtiError GetCurrentThreadCpuTimerInfo(jvmtiEnv* env, in GetCurrentThreadCpuTimerInfo()
1210 static jvmtiError GetCurrentThreadCpuTime(jvmtiEnv* env, jlong* nanos_ptr ATTRIBUTE_UNUSED) { in GetCurrentThreadCpuTime()
1216 static jvmtiError GetThreadCpuTimerInfo(jvmtiEnv* env, in GetThreadCpuTimerInfo()
1223 static jvmtiError GetThreadCpuTime(jvmtiEnv* env, in GetThreadCpuTime()
1231 static jvmtiError GetTimerInfo(jvmtiEnv* env, jvmtiTimerInfo* info_ptr) { in GetTimerInfo()
1236 static jvmtiError GetTime(jvmtiEnv* env, jlong* nanos_ptr) { in GetTime()
1241 static jvmtiError GetAvailableProcessors(jvmtiEnv* env, jint* processor_count_ptr) { in GetAvailableProcessors()
1246 static jvmtiError AddToBootstrapClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToBootstrapClassLoaderSearch()
1251 static jvmtiError AddToSystemClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToSystemClassLoaderSearch()
1256 static jvmtiError GetSystemProperties(jvmtiEnv* env, jint* count_ptr, char*** property_ptr) { in GetSystemProperties()
1261 static jvmtiError GetSystemProperty(jvmtiEnv* env, const char* property, char** value_ptr) { in GetSystemProperty()
1266 static jvmtiError SetSystemProperty(jvmtiEnv* env, const char* property, const char* value) { in SetSystemProperty()
1271 static jvmtiError GetPhase(jvmtiEnv* env, jvmtiPhase* phase_ptr) { in GetPhase()
1276 static jvmtiError DisposeEnvironment(jvmtiEnv* env) { in DisposeEnvironment()
1286 static jvmtiError SetEnvironmentLocalStorage(jvmtiEnv* env, const void* data) { in SetEnvironmentLocalStorage()
1292 static jvmtiError GetEnvironmentLocalStorage(jvmtiEnv* env, void** data_ptr) { in GetEnvironmentLocalStorage()
1298 static jvmtiError GetVersionNumber(jvmtiEnv* env, jint* version_ptr) { in GetVersionNumber()
1304 static jvmtiError GetErrorName(jvmtiEnv* env, jvmtiError error, char** name_ptr) { in GetErrorName()
1307 jvmtiError res; in GetErrorName()
1375 static jvmtiError SetVerboseFlag(jvmtiEnv* env, in SetVerboseFlag()
1435 static jvmtiError GetJLocationFormat(jvmtiEnv* env, jvmtiJlocationFormat* format_ptr) { in GetJLocationFormat()