The current DRLVM implementation describes the following import interfaces: interpreter import locking, exceptions handling, JVMTI and JNI functionality.
Typedefs | |
typedef ManagedObject | ManagedObject |
Functions | |
VMEXPORT void | vm_monitor_enter_wrapper (ManagedObject *obj) |
Gains ownership over a monitor. | |
VMEXPORT void | vm_monitor_exit_wrapper (ManagedObject *obj) |
Releases ownership over a monitor. | |
VMEXPORT void | class_throw_linking_error_for_interpreter (Class_Handle ch, unsigned cp_index, unsigned opcode) |
Calls the class_throw_linking_error function that throws a linking error. | |
VMEXPORT JNIEnv * | get_jni_native_intf () |
Returns the JNI environment. | |
VMEXPORT jbyte | jvmti_process_interpreter_breakpoint_event (jmethodID method, jlocation loc) |
A callback function for interpreter breakpoint processing. | |
VMEXPORT void | jvmti_process_single_step_event (jmethodID method, jlocation location) |
Enables single-step event processing. | |
VMEXPORT void | jvmti_process_frame_pop_event (jvmtiEnv *env, jmethodID method, jboolean was_popped_by_exception) |
Enables frame-pop event processing. | |
VMEXPORT GenericFunctionPointer | classloader_find_native (const Method_Handle method) |
Looks for a method in native libraries of a class loader. |
typedef struct ManagedObject ManagedObject |
VMEXPORT void vm_monitor_enter_wrapper | ( | ManagedObject * | obj | ) |
Gains ownership over a monitor.
The current thread blocks, if the specified monitor is owned by another thread.
[in] | obj | - the monitor object where the monitor is located |
VMEXPORT void vm_monitor_exit_wrapper | ( | ManagedObject * | obj | ) |
Releases ownership over a monitor.
[in] | obj | - the monitor object where the monitor is located |
VMEXPORT void class_throw_linking_error_for_interpreter | ( | Class_Handle | ch, | |
unsigned | cp_index, | |||
unsigned | opcode | |||
) |
Calls the class_throw_linking_error
function that throws a linking error.
[in] | ch | - the class handle |
[in] | cp_index | - the index in the constant pool |
[in] | opcode | - the opcode of bytecodes |
VMEXPORT JNIEnv* get_jni_native_intf | ( | ) |
Returns the JNI environment.
A callback function for interpreter breakpoint processing.
[in] | method | - the method ID |
[in] | loc | - the location |
Enables single-step event processing.
[in] | method | - the method ID |
[in] | location | - the location |
VMEXPORT void jvmti_process_frame_pop_event | ( | jvmtiEnv * | env, | |
jmethodID | method, | |||
jboolean | was_popped_by_exception | |||
) |
Enables frame-pop event processing.
[in] | env | - the jvmti environment |
[in] | method | - the method ID |
[in] | was_popped_by_exception | - if the frame was popped by exception |
VMEXPORT GenericFunctionPointer classloader_find_native | ( | const Method_Handle | method | ) |
Looks for a method in native libraries of a class loader.
[in] | method | - a searching native-method structure |
UnsatisfiedLinkError
with a method name in an exception message, if the specified method is not found.
Genereated on Tue Mar 11 19:25:56 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.