📄 jvmti.h
字号:
jthread thread, jint* thread_state_ptr); /* 18 : RESERVED */ void *reserved18; /* 19 : Get Frame Location */ jvmtiError (JNICALL *GetFrameLocation) (jvmtiEnv* env, jthread thread, jint depth, jmethodID* method_ptr, jlocation* location_ptr); /* 20 : Notify Frame Pop */ jvmtiError (JNICALL *NotifyFramePop) (jvmtiEnv* env, jthread thread, jint depth); /* 21 : Get Local Variable - Object */ jvmtiError (JNICALL *GetLocalObject) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jobject* value_ptr); /* 22 : Get Local Variable - Int */ jvmtiError (JNICALL *GetLocalInt) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jint* value_ptr); /* 23 : Get Local Variable - Long */ jvmtiError (JNICALL *GetLocalLong) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jlong* value_ptr); /* 24 : Get Local Variable - Float */ jvmtiError (JNICALL *GetLocalFloat) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jfloat* value_ptr); /* 25 : Get Local Variable - Double */ jvmtiError (JNICALL *GetLocalDouble) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jdouble* value_ptr); /* 26 : Set Local Variable - Object */ jvmtiError (JNICALL *SetLocalObject) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jobject value); /* 27 : Set Local Variable - Int */ jvmtiError (JNICALL *SetLocalInt) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jint value); /* 28 : Set Local Variable - Long */ jvmtiError (JNICALL *SetLocalLong) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jlong value); /* 29 : Set Local Variable - Float */ jvmtiError (JNICALL *SetLocalFloat) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jfloat value); /* 30 : Set Local Variable - Double */ jvmtiError (JNICALL *SetLocalDouble) (jvmtiEnv* env, jthread thread, jint depth, jint slot, jdouble value); /* 31 : Create Raw Monitor */ jvmtiError (JNICALL *CreateRawMonitor) (jvmtiEnv* env, const char* name, jrawMonitorID* monitor_ptr); /* 32 : Destroy Raw Monitor */ jvmtiError (JNICALL *DestroyRawMonitor) (jvmtiEnv* env, jrawMonitorID monitor); /* 33 : Raw Monitor Enter */ jvmtiError (JNICALL *RawMonitorEnter) (jvmtiEnv* env, jrawMonitorID monitor); /* 34 : Raw Monitor Exit */ jvmtiError (JNICALL *RawMonitorExit) (jvmtiEnv* env, jrawMonitorID monitor); /* 35 : Raw Monitor Wait */ jvmtiError (JNICALL *RawMonitorWait) (jvmtiEnv* env, jrawMonitorID monitor, jlong millis); /* 36 : Raw Monitor Notify */ jvmtiError (JNICALL *RawMonitorNotify) (jvmtiEnv* env, jrawMonitorID monitor); /* 37 : Raw Monitor Notify All */ jvmtiError (JNICALL *RawMonitorNotifyAll) (jvmtiEnv* env, jrawMonitorID monitor); /* 38 : Set Breakpoint */ jvmtiError (JNICALL *SetBreakpoint) (jvmtiEnv* env, jmethodID method, jlocation location); /* 39 : Clear Breakpoint */ jvmtiError (JNICALL *ClearBreakpoint) (jvmtiEnv* env, jmethodID method, jlocation location); /* 40 : RESERVED */ void *reserved40; /* 41 : Set Field Access Watch */ jvmtiError (JNICALL *SetFieldAccessWatch) (jvmtiEnv* env, jclass klass, jfieldID field); /* 42 : Clear Field Access Watch */ jvmtiError (JNICALL *ClearFieldAccessWatch) (jvmtiEnv* env, jclass klass, jfieldID field); /* 43 : Set Field Modification Watch */ jvmtiError (JNICALL *SetFieldModificationWatch) (jvmtiEnv* env, jclass klass, jfieldID field); /* 44 : Clear Field Modification Watch */ jvmtiError (JNICALL *ClearFieldModificationWatch) (jvmtiEnv* env, jclass klass, jfieldID field); /* 45 : RESERVED */ void *reserved45; /* 46 : Allocate */ jvmtiError (JNICALL *Allocate) (jvmtiEnv* env, jlong size, unsigned char** mem_ptr); /* 47 : Deallocate */ jvmtiError (JNICALL *Deallocate) (jvmtiEnv* env, unsigned char* mem); /* 48 : Get Class Signature */ jvmtiError (JNICALL *GetClassSignature) (jvmtiEnv* env, jclass klass, char** signature_ptr, char** generic_ptr); /* 49 : Get Class Status */ jvmtiError (JNICALL *GetClassStatus) (jvmtiEnv* env, jclass klass, jint* status_ptr); /* 50 : Get Source File Name */ jvmtiError (JNICALL *GetSourceFileName) (jvmtiEnv* env, jclass klass, char** source_name_ptr); /* 51 : Get Class Modifiers */ jvmtiError (JNICALL *GetClassModifiers) (jvmtiEnv* env, jclass klass, jint* modifiers_ptr); /* 52 : Get Class Methods */ jvmtiError (JNICALL *GetClassMethods) (jvmtiEnv* env, jclass klass, jint* method_count_ptr, jmethodID** methods_ptr); /* 53 : Get Class Fields */ jvmtiError (JNICALL *GetClassFields) (jvmtiEnv* env, jclass klass, jint* field_count_ptr, jfieldID** fields_ptr); /* 54 : Get Implemented Interfaces */ jvmtiError (JNICALL *GetImplementedInterfaces) (jvmtiEnv* env, jclass klass, jint* interface_count_ptr, jclass** interfaces_ptr); /* 55 : Is Interface */ jvmtiError (JNICALL *IsInterface) (jvmtiEnv* env, jclass klass, jboolean* is_interface_ptr); /* 56 : Is Array Class */ jvmtiError (JNICALL *IsArrayClass) (jvmtiEnv* env, jclass klass, jboolean* is_array_class_ptr); /* 57 : Get Class Loader */ jvmtiError (JNICALL *GetClassLoader) (jvmtiEnv* env, jclass klass, jobject* classloader_ptr); /* 58 : Get Object Hash Code */ jvmtiError (JNICALL *GetObjectHashCode) (jvmtiEnv* env, jobject object, jint* hash_code_ptr); /* 59 : Get Object Monitor Usage */ jvmtiError (JNICALL *GetObjectMonitorUsage) (jvmtiEnv* env, jobject object, jvmtiMonitorUsage* info_ptr); /* 60 : Get Field Name (and Signature) */ jvmtiError (JNICALL *GetFieldName) (jvmtiEnv* env, jclass klass, jfieldID field, char** name_ptr, char** signature_ptr, char** generic_ptr); /* 61 : Get Field Declaring Class */ jvmtiError (JNICALL *GetFieldDeclaringClass) (jvmtiEnv* env, jclass klass, jfieldID field, jclass* declaring_class_ptr); /* 62 : Get Field Modifiers */ jvmtiError (JNICALL *GetFieldModifiers) (jvmtiEnv* env, jclass klass, jfieldID field, jint* modifiers_ptr); /* 63 : Is Field Synthetic */ jvmtiError (JNICALL *IsFieldSynthetic) (jvmtiEnv* env, jclass klass, jfieldID field, jboolean* is_synthetic_ptr); /* 64 : Get Method Name (and Signature) */ jvmtiError (JNICALL *GetMethodName) (jvmtiEnv* env, jmethodID method, char** name_ptr, char** signature_ptr, char** generic_ptr); /* 65 : Get Method Declaring Class */ jvmtiError (JNICALL *GetMethodDeclaringClass) (jvmtiEnv* env, jmethodID method, jclass* declaring_class_ptr); /* 66 : Get Method Modifiers */ jvmtiError (JNICALL *GetMethodModifiers) (jvmtiEnv* env, jmethodID method, jint* modifiers_ptr); /* 67 : RESERVED */ void *reserved67; /* 68 : Get Max Locals */ jvmtiError (JNICALL *GetMaxLocals) (jvmtiEnv* env, jmethodID method, jint* max_ptr); /* 69 : Get Arguments Size */ jvmtiError (JNICALL *GetArgumentsSize) (jvmtiEnv* env, jmethodID method, jint* size_ptr); /* 70 : Get Line Number Table */ jvmtiError (JNICALL *GetLineNumberTable) (jvmtiEnv* env, jmethodID method, jint* entry_count_ptr, jvmtiLineNumberEntry** table_ptr); /* 71 : Get Method Location */ jvmtiError (JNICALL *GetMethodLocation) (jvmtiEnv* env, jmethodID method, jlocation* start_location_ptr, jlocation* end_location_ptr); /* 72 : Get Local Variable Table */ jvmtiError (JNICALL *GetLocalVariableTable) (jvmtiEnv* env, jmethodID method, jint* entry_count_ptr, jvmtiLocalVariableEntry** table_ptr); /* 73 : RESERVED */ void *reserved73; /* 74 : RESERVED */ void *reserved74; /* 75 : Get Bytecodes */ jvmtiError (JNICALL *GetBytecodes) (jvmtiEnv* env, jmethodID method, jint* bytecode_count_ptr, unsigned char** bytecodes_ptr); /* 76 : Is Method Native */ jvmtiError (JNICALL *IsMethodNative) (jvmtiEnv* env, jmethodID method, jboolean* is_native_ptr); /* 77 : Is Method Synthetic */ jvmtiError (JNICALL *IsMethodSynthetic) (jvmtiEnv* env, jmethodID method, jboolean* is_synthetic_ptr); /* 78 : Get Loaded Classes */ jvmtiError (JNICALL *GetLoadedClasses) (jvmtiEnv* env, jint* class_count_ptr, jclass** classes_ptr); /* 79 : Get Classloader Classes */ jvmtiError (JNICALL *GetClassLoaderClasses) (jvmtiEnv* env, jobject initiating_loader, jint* class_count_ptr, jclass** classes_ptr); /* 80 : Pop Frame */ jvmtiError (JNICALL *PopFrame) (jvmtiEnv* env, jthread thread); /* 81 : RESERVED */ void *reserved81; /* 82 : RESERVED */ void *reserved82; /* 83 : RESERVED */ void *reserved83; /* 84 : RESERVED */ void *reserved84; /* 85 : RESERVED */ void *reserved85; /* 86 : RESERVED */ void *reserved86; /* 87 : Redefine Classes */ jvmtiError (JNICALL *RedefineClasses) (jvmtiEnv* env, jint class_count, const jvmtiClassDefinition* class_definitions); /* 88 : Get Version Number */ jvmtiError (JNICALL *GetVersionNumber) (jvmtiEnv* env, jint* version_ptr); /* 89 : Get Capabilities */ jvmtiError (JNICALL *GetCapabilities) (jvmtiEnv* env, jvmtiCapabilities* capabilities_ptr); /* 90 : Get Source Debug Extension */ jvmtiError (JNICALL *GetSourceDebugExtension) (jvmtiEnv* env, jclass klass, char** source_debug_extension_ptr); /* 91 : Is Method Obsolete */ jvmtiError (JNICALL *IsMethodObsolete) (jvmtiEnv* env, jmethodID method, jboolean* is_obsolete_ptr); /* 92 : Suspend Thread List */ jvmtiError (JNICALL *SuspendThreadList) (jvmtiEnv* env, jint request_count, const jthread* request_list, jvmtiError* results); /* 93 : Resume Thread List */ jvmtiError (JNICALL *ResumeThreadList) (jvmtiEnv* env, jint request_count, const jthread* request_list, jvmtiError* results); /* 94 : RESERVED */ void *reserved94; /* 95 : RESERVED */ void *reserved95; /* 96 : RESERVED */ void *reserved96; /* 97 : RESERVED */ void *reserved97; /* 98 : RESERVED */ void *reserved98; /* 99 : RESERVED */ void *reserved99; /* 100 : Get All Stack Traces */ jvmtiError (JNICALL *GetAllStackTraces) (jvmtiEnv* env, jint max_frame_count, jvmtiStackInfo** stack_info_ptr, jint* thread_count_ptr); /* 101 : Get Thread List Stack Traces */ jvmtiError (JNICALL *GetThreadListStackTraces) (jvmtiEnv* env, jint thread_count, const jthread* thread_list, jint max_frame_count, jvmtiStackInfo** stack_info_ptr); /* 102 : Get Thread Local Storage */ jvmtiError (JNICALL *GetThreadLocalStorage) (jvmtiEnv* env, jthread thread, void** data_ptr); /* 103 : Set Thread Local Storage */ jvmtiError (JNICALL *SetThreadLocalStorage) (jvmtiEnv* env, jthread thread, const void* data); /* 104 : Get Stack Trace */ jvmtiError (JNICALL *GetStackTrace) (jvmtiEnv* env, jthread thread, jint start_depth, jint max_frame_count,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -