jit_export_rt.h File Reference


Functions

JITEXPORT Boolean JIT_extended_class_callback (JIT_Handle jit, Class_Handle extended_class, Class_Handle new_class, void *callback_data)
JITEXPORT Boolean JIT_overridden_method_callback (JIT_Handle jit, Method_Handle overridden_method, Method_Handle new_method, void *callback_data)
JITEXPORT Boolean JIT_recompiled_method_callback (JIT_Handle jit, Method_Handle recompiled_method, void *callback_data)
JITEXPORT void JIT_unwind_stack_frame (JIT_Handle jit, Method_Handle method, JitFrameContext *context)
JITEXPORT void JIT_get_root_set_from_stack_frame (JIT_Handle jit, Method_Handle method, GC_Enumeration_Handle enum_handle, JitFrameContext *context)
JITEXPORT void JIT_get_root_set_for_thread_dump (JIT_Handle jit, Method_Handle method, GC_Enumeration_Handle enum_handle, JitFrameContext *context)
JITEXPORT uint32 JIT_get_inline_depth (JIT_Handle jit, InlineInfoPtr ptr, uint32 offset)
 Returns number of methods which were inlined at the specified location (zero if none).
JITEXPORT Method_Handle JIT_get_inlined_method (JIT_Handle jit, InlineInfoPtr ptr, uint32 offset, uint32 inline_depth)
 Returns specified inlined method (null if not found).
JITEXPORT uint16 JIT_get_inlined_bc (JIT_Handle jit, InlineInfoPtr ptr, uint32 offset, uint32 inline_depth)
 Returns bytecode offset at specified inlined method for the native code (zero if unknown).
JITEXPORT void JIT_fix_handler_context (JIT_Handle jit, Method_Handle method, JitFrameContext *context)
JITEXPORT void * JIT_get_address_of_this (JIT_Handle jit, Method_Handle method, const JitFrameContext *context)
JITEXPORT Boolean JIT_supports_compressed_references (JIT_Handle jit)


Function Documentation

JITEXPORT Boolean JIT_extended_class_callback ( JIT_Handle  jit,
Class_Handle  extended_class,
Class_Handle  new_class,
void *  callback_data 
)

JITEXPORT Boolean JIT_overridden_method_callback ( JIT_Handle  jit,
Method_Handle  overridden_method,
Method_Handle  new_method,
void *  callback_data 
)

JITEXPORT Boolean JIT_recompiled_method_callback ( JIT_Handle  jit,
Method_Handle  recompiled_method,
void *  callback_data 
)

JITEXPORT void JIT_unwind_stack_frame ( JIT_Handle  jit,
Method_Handle  method,
JitFrameContext *  context 
)

JITEXPORT void JIT_get_root_set_from_stack_frame ( JIT_Handle  jit,
Method_Handle  method,
GC_Enumeration_Handle  enum_handle,
JitFrameContext *  context 
)

JITEXPORT void JIT_get_root_set_for_thread_dump ( JIT_Handle  jit,
Method_Handle  method,
GC_Enumeration_Handle  enum_handle,
JitFrameContext *  context 
)

JITEXPORT uint32 JIT_get_inline_depth ( JIT_Handle  jit,
InlineInfoPtr  ptr,
uint32  offset 
)

Returns number of methods which were inlined at the specified location (zero if none).

Parameters:
jit - a JIT which produced the code
prt - corresponding inline info
offset - offset in native code relative to code block start

JITEXPORT Method_Handle JIT_get_inlined_method ( JIT_Handle  jit,
InlineInfoPtr  ptr,
uint32  offset,
uint32  inline_depth 
)

Returns specified inlined method (null if not found).

The inlined methods are indexed as [max_depth..1], so the topmost method on the stack has maximum inline depth and enclosing methods have descending indicies. Zero depth would mean nearest non-inlined method and should not be used here.

Parameters:
jit - a JIT which produced the code
prt - corresponding inline info
offset - offset in native code relative to code block start
inline_depth - index of the inlined method

JITEXPORT uint16 JIT_get_inlined_bc ( JIT_Handle  jit,
InlineInfoPtr  ptr,
uint32  offset,
uint32  inline_depth 
)

Returns bytecode offset at specified inlined method for the native code (zero if unknown).

The inlined methods are indexed as [max_depth..1], so the topmost method on the stack has maximum inline depth and enclosing methods have descending indicies. Zero depth would mean nearest non-inlined method and should not be used here.

Parameters:
jit - a JIT which produced the code
prt - corresponding inline info
offset - offset in native code relative to code block start
inline_depth - index of the inlined method

JITEXPORT void JIT_fix_handler_context ( JIT_Handle  jit,
Method_Handle  method,
JitFrameContext *  context 
)

JITEXPORT void* JIT_get_address_of_this ( JIT_Handle  jit,
Method_Handle  method,
const JitFrameContext *  context 
)

JITEXPORT Boolean JIT_supports_compressed_references ( JIT_Handle  jit  ) 


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

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