Prototypes


Functions

uint8 Opcode_BREAKPOINT (StackFrame &frame)
 The function for interpreter breakpoint processing.
void interp_enumerate_root_set_single_thread_on_stack (VM_thread *)
 Enumerates references associated with the thread.
void interpreter_execute_native_method (Method *method, jvalue *return_value, jvalue *args)
 Executes the native method.
void interpreterInvokeStaticNative (StackFrame &prevFrame, StackFrame &frame, Method *method)
 Calls the static native method.
void interpreterInvokeVirtualNative (StackFrame &prevFrame, StackFrame &frame, Method *method, int sz)
 Calls the virtual native method.
void interpreter_execute_method (Method *method, jvalue *return_value, jvalue *args)
 Executes the method.
void method_entry_callback (Method *method)
 Processes method entry events.
void method_exit_callback (Method *method, bool was_popped_by_exception, jvalue ret_val)
 Processes method exit events.
void method_exit_callback_with_frame (Method *method, StackFrame &frame)
 Processes method exit events.
void putfield_callback (Field *field, StackFrame &frame)
 Processes the field modification event.
void getfield_callback (Field *field, StackFrame &frame)
 Processes the field modification event.
void putstatic_callback (Field *field, StackFrame &frame)
 Processes the field modification event.
void getstatic_callback (Field *field, StackFrame &frame)
 Processes the field modification event.
void frame_pop_callback (FramePopListener *l, Method *method, jboolean was_popped_by_exception)
 Processes the frame pop event.
void single_step_callback (StackFrame &frame)
 Processes the single step event.
bool findExceptionHandler (StackFrame &frame, ManagedObject **exception, Handler **h)
 Finds the exception handler.
bool load_method_handled_exceptions (Method *m)
 Loads method handled exceptions.


Function Documentation

uint8 Opcode_BREAKPOINT ( StackFrame frame  ) 

The function for interpreter breakpoint processing.

Parameters:
[in] frame - the method ID

void interp_enumerate_root_set_single_thread_on_stack ( VM_thread *   ) 

Enumerates references associated with the thread.

Parameters:
[in] VM_thread - the pointer to the thread

void interpreter_execute_native_method ( Method *  method,
jvalue *  return_value,
jvalue *  args 
)

Executes the native method.

Parameters:
[in] method - the native-method structure pointer
[out] return_value - the return value pointer
[in] args - the method arguments pointer

void interpreterInvokeStaticNative ( StackFrame prevFrame,
StackFrame frame,
Method *  method 
)

Calls the static native method.

Parameters:
[in] prevFrame - the previous frame pointer
[in] frame - the frame pointer
[in] method - the native-method structure pointer

void interpreterInvokeVirtualNative ( StackFrame prevFrame,
StackFrame frame,
Method *  method,
int  sz 
)

Calls the virtual native method.

Parameters:
[in] prevFrame - the previous frame pointer
[in] frame - the frame pointer
[in] method - the method structure pointer

void interpreter_execute_method ( Method *  method,
jvalue *  return_value,
jvalue *  args 
)

Executes the method.

Parameters:
[in] method - the method structure pointer
[out] return_value - the return value pointer
[in] args - the method arguments pointer

void method_entry_callback ( Method *  method  ) 

Processes method entry events.

Parameters:
[in] method - the method structure pointer

void method_exit_callback ( Method *  method,
bool  was_popped_by_exception,
jvalue  ret_val 
)

Processes method exit events.

Parameters:
[in] method - the method structure pointer
[in] was_popped_by_exception - if was popped by exception
[in] ret_val - the return value pointer

void method_exit_callback_with_frame ( Method *  method,
StackFrame frame 
)

Processes method exit events.

Parameters:
[in] method - the method structure pointer
[in] frame - the frame pointer

void putfield_callback ( Field *  field,
StackFrame frame 
)

Processes the field modification event.

Parameters:
[in] field - the field structure pointer
[in] frame - the frame pointer

void getfield_callback ( Field *  field,
StackFrame frame 
)

Processes the field modification event.

Parameters:
[in] field - the field structure pointer
[in] frame - the frame pointer

void putstatic_callback ( Field *  field,
StackFrame frame 
)

Processes the field modification event.

Parameters:
[in] field - the field structure pointer
[in] frame - the frame pointer

void getstatic_callback ( Field *  field,
StackFrame frame 
)

Processes the field modification event.

Parameters:
[in] field - the field structure pointer
[in] frame - the frame pointer

void frame_pop_callback ( FramePopListener l,
Method *  method,
jboolean  was_popped_by_exception 
)

Processes the frame pop event.

Parameters:
[in] l - the pointer to the list of functions that listen for the PopFrame event
[in] method - the pointer to the method structure
[in] was_popped_by_exception - if was_popped_by_exception

void single_step_callback ( StackFrame frame  ) 

Processes the single step event.

Parameters:
[in] frame - the frame pointer

bool findExceptionHandler ( StackFrame frame,
ManagedObject **  exception,
Handler **  h 
)

Finds the exception handler.

Parameters:
[in] frame - the frame pointer
[in] exception - the exception pointer
[in] h - - the pointer to the representation of a catch block in a method's code array
Returns:
TRUE on success.

bool load_method_handled_exceptions ( Method *  m  ) 

Loads method handled exceptions.

Parameters:
[in] method - the method structure pointer
Returns:
TRUE on success.


Genereated on Tue Mar 11 19:25:37 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.