#include <interpreter_exports.h>
Public Attributes | |
bool(* | interpreter_st_get_frame )(unsigned target_depth, struct StackTraceFrame *stf) |
Fills the stack trace frame at the given depth for the current thread. | |
void(* | interpreter_st_get_trace )(struct VM_thread *thread, unsigned *res_depth, struct StackTraceFrame **stfs) |
Fills the stack trace frames for the specified number of frames of the specified thread. | |
void(* | interpreter_enumerate_thread )(struct VM_thread *thread) |
Enumerates references associated with the thread. | |
FrameHandle *(* | interpreter_get_last_frame )(struct VM_thread *thread) |
Returns the last frame. | |
FrameHandle *(* | interpreter_get_prev_frame )(FrameHandle *frame) |
Returns the previous frame. | |
Method_Handle(* | interpreter_get_frame_method )(FrameHandle *frame) |
Returns the frame method. | |
uint8 *(* | interpreter_get_frame_bytecode_ptr )(FrameHandle *frame) |
Returns the pointer to the bytecode. | |
bool(* | is_frame_in_native_frame )(struct FrameHandle *frame, void *begin, void *end) |
Returns TRUE if the frame is native. | |
void(* | interpreter_ti_enumerate_thread )(jvmtiEnv *, struct VM_thread *thread) |
Enumerates references associated with the thread. | |
jvmtiError(* | interpreter_ti_getFrameLocation )(jvmtiEnv *, struct VM_thread *, int, struct _jmethodID **, int64 *) |
Returns the frame location. | |
jvmtiError(* | interpreter_ti_getLocal32 )(jvmtiEnv *, struct VM_thread *, int, int, int *) |
Returns the value of the 32 bit local variable. | |
jvmtiError(* | interpreter_ti_getLocal64 )(jvmtiEnv *, struct VM_thread *, int, int, int64 *) |
Returns the value of 64 bit local variable. | |
jvmtiError(* | interpreter_ti_getObject )(jvmtiEnv *, struct VM_thread *, int, int, struct _jobject **) |
Returns the value of the Object type local variable. | |
jvmtiError(* | interpreter_ti_getStackTrace )(jvmtiEnv *, struct VM_thread *, int, int, jvmtiFrameInfo *, int *) |
Returns stack trace data. | |
jvmtiError(* | interpreter_ti_get_frame_count )(jvmtiEnv *, struct VM_thread *, int *) |
Returns frame count. | |
jvmtiError(* | interpreter_ti_setLocal32 )(jvmtiEnv *, struct VM_thread *, int, int, int) |
Sets the value of 32 bit local variable. | |
jvmtiError(* | interpreter_ti_setLocal64 )(jvmtiEnv *, struct VM_thread *, int, int, int64) |
Sets the value of 64 bit local variable. | |
jvmtiError(* | interpreter_ti_setObject )(jvmtiEnv *, struct VM_thread *, int, int, struct _jobject *) |
Sets the value of the Object type local variable. | |
unsigned int(* | interpreter_st_get_interrupted_method_native_bit )(struct VM_thread *) |
Returns the interrupted method native bit. | |
void(* | interpreter_ti_set_notification_mode )(jvmtiEvent event_type, bool enable) |
The function is called when the global TI event state is changed. | |
jbyte(* | interpreter_ti_set_breakpoint )(jmethodID method, jlocation location) |
Sets the breakpoint in the place identified by the method and location. | |
void(* | interpreter_ti_clear_breakpoint )(jmethodID method, jlocation location, jbyte saved) |
Clears the breakpoint in the place identified by the method and location. | |
jvmtiError(* | interpreter_ti_notify_frame_pop )(jvmtiEnv *, VM_thread *thread, int depth) |
Sets a callback to notify JVMTI about the frame-pop event. | |
jvmtiError(* | interpreter_ti_pop_frame )(jvmtiEnv *, VM_thread *thread) |
Pops the frame. | |
void(* | stack_dump )(int, VM_thread *) |
Dumps the stack. |
bool(* Interpreter.interpreter_st_get_frame)(unsigned target_depth, struct StackTraceFrame *stf) |
Fills the stack trace frame at the given depth for the current thread.
[in] | target_depth | - the zero-based depth of the frame or inlined method, information about which will be stored at the given stack trace frame, stf |
[out] | stf | - the pointer to the StackTraceFrame structure that needs to be filled with the data on the frame or inlined method corresponding to the given depth |
TRUE
on success, FALSE
if the depth is greater than or equal to the current thread stack trace length. void(* Interpreter.interpreter_st_get_trace)(struct VM_thread *thread, unsigned *res_depth, struct StackTraceFrame **stfs) |
Fills the stack trace frames for the specified number of frames of the specified thread.
[in] | thread | - the pointer to the thread |
[in] | res_depth | - the number of frames including inlined methods, information about which should be stored |
[out] | stfs | - the pointer to the array of stack trace frames created by this function and returned via this pointer |
void(* Interpreter.interpreter_enumerate_thread)(struct VM_thread *thread) |
Enumerates references associated with the thread.
thread | - the pointer to the thread |
FrameHandle*(* Interpreter.interpreter_get_last_frame)(struct VM_thread *thread) |
Returns the last frame.
thread | - the pointer to the thread |
Returns the previous frame.
frame | - the pointer to the frame |
Returns the frame method.
frame | - the pointer to the frame |
uint8*(* Interpreter.interpreter_get_frame_bytecode_ptr)(FrameHandle *frame) |
Returns the pointer to the bytecode.
frame | - the pointer to the frame |
bool(* Interpreter.is_frame_in_native_frame)(struct FrameHandle *frame, void *begin, void *end) |
Returns TRUE
if the frame is native.
frame | - the pointer to the frame | |
begin | - the pointer to the register | |
end | - the pointer to the register |
TRUE
on success. void(* Interpreter.interpreter_ti_enumerate_thread)(jvmtiEnv *, struct VM_thread *thread) |
Enumerates references associated with the thread.
thread | - the pointer to the thread | |
jvmtiEnv | - the pointer to the jvmti environment |
jvmtiError(* Interpreter.interpreter_ti_getFrameLocation)(jvmtiEnv *, struct VM_thread *, int, struct _jmethodID **, int64 *) |
Returns the frame location.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
_jmethodID | - the pointer to the method | |
jlocation | - the pointer to the location |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too large jvmtiError(* Interpreter.interpreter_ti_getLocal32)(jvmtiEnv *, struct VM_thread *, int, int, int *) |
Returns the value of the 32 bit local variable.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
slot | - the pointer to the slot | |
value_ptr | - the pointer to the value |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too largeJVMTI_ERROR_OPAQUE_FRAME
- no frameJVMTI_ERROR_INVALID_SLOT
- a bad slotJVMTI_ERROR_TYPE_MISMATCH
- an invalid variable type jvmtiError(* Interpreter.interpreter_ti_getLocal64)(jvmtiEnv *, struct VM_thread *, int, int, int64 *) |
Returns the value of 64 bit local variable.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
slot | - the pointer to the slot | |
value_ptr | - the pointer to the value |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too largeJVMTI_ERROR_OPAQUE_FRAME
- no frameJVMTI_ERROR_INVALID_SLOT
- a bad slotJVMTI_ERROR_TYPE_MISMATCH
- an invalid variable type jvmtiError(* Interpreter.interpreter_ti_getObject)(jvmtiEnv *, struct VM_thread *, int, int, struct _jobject **) |
Returns the value of the Object
type local variable.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
slot | - the pointer to the slot | |
value_ptr | - the pointer to the value |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too largeJVMTI_ERROR_OPAQUE_FRAME
- no frameJVMTI_ERROR_INVALID_SLOT
- a bad slotJVMTI_ERROR_TYPE_MISMATCH
- an invalid variable type jvmtiError(* Interpreter.interpreter_ti_getStackTrace)(jvmtiEnv *, struct VM_thread *, int, int, jvmtiFrameInfo *, int *) |
Returns stack trace data.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
start_depth | - the pointer to the depth | |
max_frame_count | - the pointer to max_frame_count | |
frame_buffer | - the pointer to frame_buffer | |
count_ptr | - the pointer to the count |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_ILLEGAL_ARGUMENT
- bad arguments jvmtiError(* Interpreter.interpreter_ti_get_frame_count)(jvmtiEnv *, struct VM_thread *, int *) |
Returns frame count.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
count_ptr[out] | - the pointer to the count |
JVMTI_ERROR_NONE
- a successfully added notification jvmtiError(* Interpreter.interpreter_ti_setLocal32)(jvmtiEnv *, struct VM_thread *, int, int, int) |
Sets the value of 32 bit local variable.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
slot | - the pointer to the slot | |
value_ptr | - the pointer to the value |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too largeJVMTI_ERROR_OPAQUE_FRAME
- no frameJVMTI_ERROR_INVALID_SLOT
- a bad slotJVMTI_ERROR_TYPE_MISMATCH
- an invalid variable type jvmtiError(* Interpreter.interpreter_ti_setLocal64)(jvmtiEnv *, struct VM_thread *, int, int, int64) |
Sets the value of 64 bit local variable.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
slot | - the pointer to the slot | |
value_ptr | - the pointer to the value |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too largeJVMTI_ERROR_OPAQUE_FRAME
- no frameJVMTI_ERROR_INVALID_SLOT
- a bad slotJVMTI_ERROR_TYPE_MISMATCH
- an invalid variable typejvmtiError(* Interpreter.interpreter_ti_setObject)(jvmtiEnv *, struct VM_thread *, int, int, struct _jobject *) |
Sets the value of the Object
type local variable.
jvmtiEnv | - the pointer to the jvmti environment | |
thread | - the pointer to the thread | |
depth | - the pointer to the depth | |
slot | - the pointer to the slot | |
value_ptr | - the pointer to the value |
JVMTI_ERROR_NONE
- a successfully added notificationJVMTI_ERROR_NO_MORE_FRAMES
- depth is too largeJVMTI_ERROR_OPAQUE_FRAME
- no frameJVMTI_ERROR_INVALID_SLOT
- a bad slotJVMTI_ERROR_TYPE_MISMATCH
- an invalid variable type unsigned int(* Interpreter.interpreter_st_get_interrupted_method_native_bit)(struct VM_thread *) |
Returns the interrupted method native bit.
thread | - the pointer to the thread |
Genereated on Tue Mar 11 19:25:26 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.