jvmti_interface.h File Reference


Functions

void jvmti_method_enter_callback (Method_Handle method)
 Method enter callback which is called from all JIT compiled methods, This callback is called before synchronization is done for synchronized methods.
void jvmti_method_exit_callback (Method_Handle method, jvalue *return_value)
 Method exit callback which is called from all JIT compiled methods.
void jvmti_field_access_callback (Field_Handle field, Method_Handle method, jlocation location, ManagedObject *object)
 Field access callback which is called from JITted code compiled with <field access>=""> flag whenever access of field which has <field access="" mask>=""> set occures.
void jvmti_field_modification_callback (Field_Handle field, Method_Handle method, jlocation location, ManagedObject *object, jvalue *new_value)
 Field modification callback which is called from JITted code compiled with <field modification>=""> flag whenever modification of field which has <field modification="" mask>=""> set occures.
void jvmti_safe_point ()
 Callback which is called frim JITted code.


Function Documentation

void jvmti_method_enter_callback ( Method_Handle  method  ) 

Method enter callback which is called from all JIT compiled methods, This callback is called before synchronization is done for synchronized methods.

Garbage collector should be enabled.

Parameters:
method - handle of the called method

void jvmti_method_exit_callback ( Method_Handle  method,
jvalue return_value 
)

Method exit callback which is called from all JIT compiled methods.

This callback is called after synchronization is done for synchronized methods. Garbage collector should be enabled.

Parameters:
method - handle of the exiting method
return_value - the return value of the method if method is not void

void jvmti_field_access_callback ( Field_Handle  field,
Method_Handle  method,
jlocation  location,
ManagedObject object 
)

Field access callback which is called from JITted code compiled with <field access>=""> flag whenever access of field which has <field access="" mask>=""> set occures.

Garbage collector must be disabled.

Parameters:
field - handle of the field under access
method - handle of the method, which accesses field
location - location of code which accesses field
object - non GC-safe pointer to the object, which field is beeng accessed or NULL for static field

void jvmti_field_modification_callback ( Field_Handle  field,
Method_Handle  method,
jlocation  location,
ManagedObject object,
jvalue new_value 
)

Field modification callback which is called from JITted code compiled with <field modification>=""> flag whenever modification of field which has <field modification="" mask>=""> set occures.

Garbage collector must be disabled.

Parameters:
field - handle of the field under modification
method - handle of the method, which modifies field
location - location of code which modifies field
object - non GC-safe pointer to the object, which field is beeng accessed or NULL for static field
new_value - pointer to the new value for the field

void jvmti_safe_point (  ) 

Callback which is called frim JITted code.

Serves as a wrapper for hythread_safe_point().


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

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