Defines | ||||
#define | tmn_suspend_disable assert(hythread_is_suspend_enabled());hythread_suspend_disable | |||
#define | tmn_suspend_enable assert(!hythread_is_suspend_enabled());hythread_suspend_enable | |||
#define | tmn_suspend_disable_recursive hythread_suspend_disable | |||
#define | tmn_suspend_enable_recursive hythread_suspend_enable | |||
#define | p_TLS_vmthread (jthread_self_vm_thread()) | |||
Typedefs | ||||
typedef vm_thread_t(*) | vm_thread_accessor () | |||
Functions | ||||
jvmti_thread_t | jthread_self_jvmti () | |||
Gets jvmti_thread pointer from native thread. | ||||
jvmti_thread_t | jthread_get_jvmti_thread (hythread_t native) | |||
Gets jvmti_thread pointer from a given native thread. | ||||
void | jthread_start_count () | |||
Auxiliary function to update thread count. | ||||
void | jthread_end_count () | |||
jint | jthread_allocate_vm_thread_pool (JavaVM *java_vm, vm_thread_t vm_thread) | |||
void | jthread_deallocate_vm_thread_pool (vm_thread_t vm_thread) | |||
vm_thread_t | jthread_allocate_thread () | |||
void | vm_set_jvmti_saved_exception_registers (vm_thread_t vm_thread, Registers *regs) | |||
void | vm_set_exception_registers (vm_thread_t vm_thread, Registers ®s) | |||
void * | vm_get_ip_from_regs (vm_thread_t vm_thread) | |||
void | vm_reset_ip_from_regs (vm_thread_t vm_thread) | |||
hythread_thin_monitor_t * | vm_object_get_lockword_addr (jobject obj) | |||
| ||||
size_t | vm_object_get_lockword_size () | |||
| ||||
IDATA | jthread_throw_exception (char *name, char *message) | |||
Creates exception object using given class name and message and throws it using jthread_throw_exception method. | ||||
IDATA | jthread_throw_exception_object (jobject object) | |||
Throws given exception object. | ||||
int | ti_is_enabled () | |||
ti is enabled | ||||
Variables | ||||
VMEXPORT vm_thread_accessor | get_thread_ptr |
#define tmn_suspend_disable assert(hythread_is_suspend_enabled());hythread_suspend_disable |
#define tmn_suspend_enable assert(!hythread_is_suspend_enabled());hythread_suspend_enable |
#define tmn_suspend_disable_recursive hythread_suspend_disable |
#define tmn_suspend_enable_recursive hythread_suspend_enable |
#define p_TLS_vmthread (jthread_self_vm_thread()) |
typedef vm_thread_t(*) vm_thread_accessor() |
jvmti_thread_t jthread_self_jvmti | ( | ) |
Gets jvmti_thread pointer from native thread.
jvmti_thread_t jthread_get_jvmti_thread | ( | hythread_t | native | ) |
Gets jvmti_thread pointer from a given native thread.
void jthread_start_count | ( | ) |
Auxiliary function to update thread count.
void jthread_end_count | ( | ) |
jint jthread_allocate_vm_thread_pool | ( | JavaVM * | java_vm, | |
vm_thread_t | vm_thread | |||
) |
void jthread_deallocate_vm_thread_pool | ( | vm_thread_t | vm_thread | ) |
vm_thread_t jthread_allocate_thread | ( | ) |
void vm_set_jvmti_saved_exception_registers | ( | vm_thread_t | vm_thread, | |
Registers * | regs | |||
) |
void vm_set_exception_registers | ( | vm_thread_t | vm_thread, | |
Registers & | regs | |||
) |
void* vm_get_ip_from_regs | ( | vm_thread_t | vm_thread | ) |
void vm_reset_ip_from_regs | ( | vm_thread_t | vm_thread | ) |
hythread_thin_monitor_t* vm_object_get_lockword_addr | ( | jobject | obj | ) |
[in] | obj | - jobject those address needs to be given |
size_t vm_object_get_lockword_size | ( | ) |
The returned size must be equal for all Java objets and is constant over time. It should be possible to call this method during initialization time.
IDATA jthread_throw_exception | ( | char * | name, | |
char * | message | |||
) |
Creates exception object using given class name and message and throws it using jthread_throw_exception
method.
[in] | name | - char* name |
[in] | message | - char* message |
int
Throws given exception object.
Desides whether current thread is unwindable and throws it, raises exception otherwise.
int ti_is_enabled | ( | ) |
ti
is enabled
int
VMEXPORT vm_thread_accessor get_thread_ptr |
Genereated on Tue Mar 11 19:25:23 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.