Package Jitrino.Jet


Functions

bool rt_check_method (JIT_Handle jit, Method_Handle method)
 Checks whether a given method was compiled by the Jitrino.JET.
void rt_unwind (JIT_Handle jit, Method_Handle method, JitFrameContext *context)
 'Unwinds' stack for a given method.
void rt_enum (JIT_Handle jit, Method_Handle method, GC_Enumeration_Handle henum, JitFrameContext *context)
 Enumerates root set for a given method.
void rt_fix_handler_context (JIT_Handle jit, Method_Handle method, JitFrameContext *context)
 'Fixes' a catch handler context to prepare for the control to be transferred to the handler.
Boolean rt_is_soe_area (JIT_Handle jit, Method_Handle method, const JitFrameContext *context)
 Returns 'TRUE' if EIP referenced by context points to SOE checking area of the method.
void * rt_get_address_of_this (JIT_Handle jit, Method_Handle method, const JitFrameContext *context)
 Returns address of 'this' argument for the given method.
void rt_native2bc (JIT_Handle jit, Method_Handle method, const void *ip, unsigned short *pbc_pc)
 Finds PC for a given IP.
void rt_bc2native (JIT_Handle jit, Method_Handle method, unsigned short bc_pc, void **pip)
 Finds IP for a given PC.
::OpenExeJpdaError rt_get_local_var (JIT_Handle jit, Method_Handle method, const ::JitFrameContext *context, unsigned var_num, VM_Data_Type var_type, void *value_ptr)
 Gets the given local variable with specified index and type.
::OpenExeJpdaError rt_set_local_var (JIT_Handle jit, Method_Handle method, const ::JitFrameContext *context, unsigned var_num, VM_Data_Type var_type, void *value_ptr)
 Sets the given local variable with specified index and type.
void setup (JIT_Handle hjit, const char *name)
 Initialization routine, normally called from the JIT_init().
void cleanup (void)
 Cleanup routine, normally called from the JIT_deinit().
void cmd_line_arg (JIT_Handle jit, const char *name, const char *arg)
 Command line processing routine, normally called from JIT_next_command_line_argument().
bool supports_compresed_refs (void)
 Returns true if Jitrino.JET supports compressed references on the current platform.
JIT_Result compile_with_params (JIT_Handle jh, Compile_Handle compile, Method_Handle method, OpenMethodExecutionParams params)
 Performs compilation of the method.
OpenMethodExecutionParams get_exe_capabilities ()
 Returns compilation capabilities.
void rt_profile_notification_callback (JIT_Handle jit, PC_Handle pc, Method_Handle mh)
 Notifies JET that profile is collected and counters could be removed now.


Function Documentation

void Jitrino.Jet.setup ( JIT_Handle  hjit,
const char *  name 
)

Initialization routine, normally called from the JIT_init().

Parameters:
hjit - JIT handle passed from VM to JIT_init()
name - name assigned to JIT

void Jitrino.Jet.cleanup ( void   ) 

Cleanup routine, normally called from the JIT_deinit().

void Jitrino.Jet.cmd_line_arg ( JIT_Handle  jit,
const char *  name,
const char *  arg 
)

Command line processing routine, normally called from JIT_next_command_line_argument().

Parameters:
jit - JIT handle
name - name of the command line parameter
arg - value of the parameter

bool Jitrino.Jet.supports_compresed_refs ( void   ) 

Returns true if Jitrino.JET supports compressed references on the current platform.

JIT_Result Jitrino.Jet.compile_with_params ( JIT_Handle  jh,
Compile_Handle  compile,
Method_Handle  method,
OpenMethodExecutionParams  params 
)

Performs compilation of the method.

Compiles the method with taking into account additional parameters (supposed to be use for JPDA purposes).

Returns:
true if the method was compiled, false otherwise

OpenMethodExecutionParams Jitrino.Jet.get_exe_capabilities (  ) 

Returns compilation capabilities.

The function returns features that are supported by the Jitrino.JET compiler.

Returns:
Supported features

void Jitrino.Jet.rt_profile_notification_callback ( JIT_Handle  jit,
PC_Handle  pc,
Method_Handle  mh 
)

Notifies JET that profile is collected and counters could be removed now.


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

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