📄 jvmti.h
字号:
jvmtiError IterateOverHeap(jvmtiHeapObjectFilter object_filter,
jvmtiHeapObjectCallback heap_object_callback,
void* user_data) {
return functions->IterateOverHeap(this, object_filter, heap_object_callback, user_data);
}
jvmtiError IterateOverInstancesOfClass(jclass klass,
jvmtiHeapObjectFilter object_filter,
jvmtiHeapObjectCallback heap_object_callback,
void* user_data) {
return functions->IterateOverInstancesOfClass(this, klass, object_filter, heap_object_callback, user_data);
}
jvmtiError GetObjectsWithTags(jint tag_count,
const jlong* tags,
jint* count_ptr,
jobject** object_result_ptr,
jlong** tag_result_ptr) {
return functions->GetObjectsWithTags(this, tag_count, tags, count_ptr, object_result_ptr, tag_result_ptr);
}
jvmtiError GetLocalObject(jthread thread,
jint depth,
jint slot,
jobject* value_ptr) {
return functions->GetLocalObject(this, thread, depth, slot, value_ptr);
}
jvmtiError GetLocalInt(jthread thread,
jint depth,
jint slot,
jint* value_ptr) {
return functions->GetLocalInt(this, thread, depth, slot, value_ptr);
}
jvmtiError GetLocalLong(jthread thread,
jint depth,
jint slot,
jlong* value_ptr) {
return functions->GetLocalLong(this, thread, depth, slot, value_ptr);
}
jvmtiError GetLocalFloat(jthread thread,
jint depth,
jint slot,
jfloat* value_ptr) {
return functions->GetLocalFloat(this, thread, depth, slot, value_ptr);
}
jvmtiError GetLocalDouble(jthread thread,
jint depth,
jint slot,
jdouble* value_ptr) {
return functions->GetLocalDouble(this, thread, depth, slot, value_ptr);
}
jvmtiError SetLocalObject(jthread thread,
jint depth,
jint slot,
jobject value) {
return functions->SetLocalObject(this, thread, depth, slot, value);
}
jvmtiError SetLocalInt(jthread thread,
jint depth,
jint slot,
jint value) {
return functions->SetLocalInt(this, thread, depth, slot, value);
}
jvmtiError SetLocalLong(jthread thread,
jint depth,
jint slot,
jlong value) {
return functions->SetLocalLong(this, thread, depth, slot, value);
}
jvmtiError SetLocalFloat(jthread thread,
jint depth,
jint slot,
jfloat value) {
return functions->SetLocalFloat(this, thread, depth, slot, value);
}
jvmtiError SetLocalDouble(jthread thread,
jint depth,
jint slot,
jdouble value) {
return functions->SetLocalDouble(this, thread, depth, slot, value);
}
jvmtiError SetBreakpoint(jmethodID method,
jlocation location) {
return functions->SetBreakpoint(this, method, location);
}
jvmtiError ClearBreakpoint(jmethodID method,
jlocation location) {
return functions->ClearBreakpoint(this, method, location);
}
jvmtiError SetFieldAccessWatch(jclass klass,
jfieldID field) {
return functions->SetFieldAccessWatch(this, klass, field);
}
jvmtiError ClearFieldAccessWatch(jclass klass,
jfieldID field) {
return functions->ClearFieldAccessWatch(this, klass, field);
}
jvmtiError SetFieldModificationWatch(jclass klass,
jfieldID field) {
return functions->SetFieldModificationWatch(this, klass, field);
}
jvmtiError ClearFieldModificationWatch(jclass klass,
jfieldID field) {
return functions->ClearFieldModificationWatch(this, klass, field);
}
jvmtiError GetLoadedClasses(jint* class_count_ptr,
jclass** classes_ptr) {
return functions->GetLoadedClasses(this, class_count_ptr, classes_ptr);
}
jvmtiError GetClassLoaderClasses(jobject initiating_loader,
jint* class_count_ptr,
jclass** classes_ptr) {
return functions->GetClassLoaderClasses(this, initiating_loader, class_count_ptr, classes_ptr);
}
jvmtiError GetClassSignature(jclass klass,
char** signature_ptr,
char** generic_ptr) {
return functions->GetClassSignature(this, klass, signature_ptr, generic_ptr);
}
jvmtiError GetClassStatus(jclass klass,
jint* status_ptr) {
return functions->GetClassStatus(this, klass, status_ptr);
}
jvmtiError GetSourceFileName(jclass klass,
char** source_name_ptr) {
return functions->GetSourceFileName(this, klass, source_name_ptr);
}
jvmtiError GetClassModifiers(jclass klass,
jint* modifiers_ptr) {
return functions->GetClassModifiers(this, klass, modifiers_ptr);
}
jvmtiError GetClassMethods(jclass klass,
jint* method_count_ptr,
jmethodID** methods_ptr) {
return functions->GetClassMethods(this, klass, method_count_ptr, methods_ptr);
}
jvmtiError GetClassFields(jclass klass,
jint* field_count_ptr,
jfieldID** fields_ptr) {
return functions->GetClassFields(this, klass, field_count_ptr, fields_ptr);
}
jvmtiError GetImplementedInterfaces(jclass klass,
jint* interface_count_ptr,
jclass** interfaces_ptr) {
return functions->GetImplementedInterfaces(this, klass, interface_count_ptr, interfaces_ptr);
}
jvmtiError IsInterface(jclass klass,
jboolean* is_interface_ptr) {
return functions->IsInterface(this, klass, is_interface_ptr);
}
jvmtiError IsArrayClass(jclass klass,
jboolean* is_array_class_ptr) {
return functions->IsArrayClass(this, klass, is_array_class_ptr);
}
jvmtiError GetClassLoader(jclass klass,
jobject* classloader_ptr) {
return functions->GetClassLoader(this, klass, classloader_ptr);
}
jvmtiError GetSourceDebugExtension(jclass klass,
char** source_debug_extension_ptr) {
return functions->GetSourceDebugExtension(this, klass, source_debug_extension_ptr);
}
jvmtiError RedefineClasses(jint class_count,
const jvmtiClassDefinition* class_definitions) {
return functions->RedefineClasses(this, class_count, class_definitions);
}
jvmtiError GetObjectSize(jobject object,
jlong* size_ptr) {
return functions->GetObjectSize(this, object, size_ptr);
}
jvmtiError GetObjectHashCode(jobject object,
jint* hash_code_ptr) {
return functions->GetObjectHashCode(this, object, hash_code_ptr);
}
jvmtiError GetObjectMonitorUsage(jobject object,
jvmtiMonitorUsage* info_ptr) {
return functions->GetObjectMonitorUsage(this, object, info_ptr);
}
jvmtiError GetFieldName(jclass klass,
jfieldID field,
char** name_ptr,
char** signature_ptr,
char** generic_ptr) {
return functions->GetFieldName(this, klass, field, name_ptr, signature_ptr, generic_ptr);
}
jvmtiError GetFieldDeclaringClass(jclass klass,
jfieldID field,
jclass* declaring_class_ptr) {
return functions->GetFieldDeclaringClass(this, klass, field, declaring_class_ptr);
}
jvmtiError GetFieldModifiers(jclass klass,
jfieldID field,
jint* modifiers_ptr) {
return functions->GetFieldModifiers(this, klass, field, modifiers_ptr);
}
jvmtiError IsFieldSynthetic(jclass klass,
jfieldID field,
jboolean* is_synthetic_ptr) {
return functions->IsFieldSynthetic(this, klass, field, is_synthetic_ptr);
}
jvmtiError GetMethodName(jmethodID method,
char** name_ptr,
char** signature_ptr,
char** generic_ptr) {
return functions->GetMethodName(this, method, name_ptr, signature_ptr, generic_ptr);
}
jvmtiError GetMethodDeclaringClass(jmethodID method,
jclass* declaring_class_ptr) {
return functions->GetMethodDeclaringClass(this, method, declaring_class_ptr);
}
jvmtiError GetMethodModifiers(jmethodID method,
jint* modifiers_ptr) {
return functions->GetMethodModifiers(this, method, modifiers_ptr);
}
jvmtiError GetMaxLocals(jmethodID method,
jint* max_ptr) {
return functions->GetMaxLocals(this, method, max_ptr);
}
jvmtiError GetArgumentsSize(jmethodID method,
jint* size_ptr) {
return functions->GetArgumentsSize(this, method, size_ptr);
}
jvmtiError GetLineNumberTable(jmethodID method,
jint* entry_count_ptr,
jvmtiLineNumberEntry** table_ptr) {
return functions->GetLineNumberTable(this, method, entry_count_ptr, table_ptr);
}
jvmtiError GetMethodLocation(jmethodID method,
jlocation* start_location_ptr,
jlocation* end_location_ptr) {
return functions->GetMethodLocation(this, method, start_location_ptr, end_location_ptr);
}
jvmtiError GetLocalVariableTable(jmethodID method,
jint* entry_count_ptr,
jvmtiLocalVariableEntry** table_ptr) {
return functions->GetLocalVariableTable(this, method, entry_count_ptr, table_ptr);
}
jvmtiError GetBytecodes(jmethodID method,
jint* bytecode_count_ptr,
unsigned char** bytecodes_ptr) {
return functions->GetBytecodes(this, method, bytecode_count_ptr, bytecodes_ptr);
}
jvmtiError IsMethodNative(jmethodID method,
jboolean* is_native_ptr) {
return functions->IsMethodNative(this, method, is_native_ptr);
}
jvmtiError IsMethodSynthetic(jmethodID method,
jboolean* is_synthetic_ptr) {
return functions->IsMethodSynthetic(this, method, is_synthetic_ptr);
}
jvmtiError IsMethodObsolete(jmethodID method,
jboolean* is_obsolete_ptr) {
return functions->IsMethodObsolete(this, method, is_obsolete_ptr);
}
jvmtiError CreateRawMonitor(const char* name,
jrawMonitorID* monitor_ptr) {
return functions->CreateRawMonitor(this, name, monitor_ptr);
}
jvmtiError DestroyRawMonitor(jrawMonitorID monitor) {
return functions->DestroyRawMonitor(this, monitor);
}
jvmtiError RawMonitorEnter(jrawMonitorID monitor) {
return functions->RawMonitorEnter(this, monitor);
}
jvmtiError RawMonitorExit(jrawMonitorID monitor) {
return functions->RawMonitorExit(this, monitor);
}
jvmtiError RawMonitorWait(jrawMonitorID monitor,
jlong millis) {
return functions->RawMonitorWait(this, monitor, millis);
}
jvmtiError RawMonitorNotify(jrawMonitorID monitor) {
return functions->RawMonitorNotify(this, monitor);
}
jvmtiError RawMonitorNotifyAll(jrawMonitorID monitor) {
return functions->RawMonitorNotifyAll(this, monitor);
}
jvmtiError SetJNIFunctionTable(const jniNativeInterface* function_table) {
return functions->SetJNIFunctionTable(this, function_table);
}
jvmtiError GetJNIFunctionTable(jniNativeInterface** function_table) {
return functions->GetJNIFunctionTable(this, function_table);
}
jvmtiError SetEventCallbacks(const jvmtiEventCallbacks* callbacks,
jint size_of_callbacks) {
return functions->SetEventCallbacks(this, callbacks, size_of_callbacks);
}
jvmtiError SetEventNotificationMode(jvmtiEventMode mode,
jvmtiEvent event_type,
jthread event_thread,
...) {
return functions->SetEventNotificationMode(this, mode, event_type, event_thread);
}
jvmtiError GenerateEvents(jvmtiEvent event_type) {
return functions->GenerateEvents(this, event_type);
}
jvmtiError GetExtensionFunctions(jint* extension_count_ptr,
jvmtiExtensionFunctionInfo** extensions) {
return functions->GetExtensionFunctions(this, extension_count_ptr, extensions);
}
jvmtiError GetExtensionEvents(jint* extension_count_ptr,
jvmtiExtensionEventInfo** extensions) {
return functions->GetExtensionEvents(this, extension_count_ptr, extensions);
}
jvmtiError SetExtensionEventCallback(jint extension_event_index,
jvmtiExtensionEvent callback) {
return functions->SetExtensionEventCallback(this, extension_event_index, callback);
}
jvmtiError GetPotentialCapabilities(jvmtiCapabilities* capabilities_ptr) {
return functions->GetPotentialCapabilities(this, capabilities_ptr);
}
jvmtiError AddCapabilities(const jvmtiCapabilities* capabilities_ptr) {
return functions->AddCapabilities(this, capabilities_ptr);
}
jvmtiError RelinquishCapabilities(const jvmtiCapabilities* capabilities_ptr) {
return functions->RelinquishCapabilities(this, capabilities_ptr);
}
jvmtiError GetCapabilities(jvmtiCapabilities* capabilities_ptr) {
return functions->GetCapabilities(this, capabilities_ptr);
}
jvmtiError GetCurrentThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) {
return functions->GetCurrentThreadCpuTimerInfo(this, info_ptr);
}
jvmtiError GetCurrentThreadCpuTime(jlong* nanos_ptr) {
return functions->GetCurrentThreadCpuTime(this, nanos_ptr);
}
jvmtiError GetThreadCpuTimerInfo(jvmtiTimerInfo* info_ptr) {
return functions->GetThreadCpuTimerInfo(this, info_ptr);
}
jvmtiError GetThreadCpuTime(jthread thread,
jlong* nanos_ptr) {
return functions->GetThreadCpuTime(this, thread, nanos_ptr);
}
jvmtiError GetTimerInfo(jvmtiTimerInfo* info_ptr) {
return functions->GetTimerInfo(this, info_ptr);
}
jvmtiError GetTime(jlong* nanos_ptr) {
return functions->GetTime(this, nanos_ptr);
}
jvmtiError GetAvailableProcessors(jint* processor_count_ptr) {
return functions->GetAvailableProcessors(this, processor_count_ptr);
}
jvmtiError AddToBootstrapClassLoaderSearch(const char* segment) {
return functions->AddToBootstrapClassLoaderSearch(this, segment);
}
jvmtiError GetSystemProperties(jint* count_ptr,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -