jit_intf.h File Reference


Typedefs

typedef const void * Arg_List_Iterator
 
Author:
Intel, Alexei Fedotov

typedef const void * Arg_List_Iter

Functions

VMEXPORT Field_Handle resolve_field (Compile_Handle h, Class_Handle c, unsigned index)
VMEXPORT Method_Handle resolve_nonstatic_method (Compile_Handle h, Class_Handle c, unsigned index)
VMEXPORT Method_Handle resolve_special_method (Compile_Handle h, Class_Handle c, unsigned index)
VMEXPORT Boolean vm_instanceof_class (Class *s, Class *t)
VMEXPORT Class_Handle resolve_class_new (Compile_Handle h, Class_Handle c, unsigned index)
VMEXPORT Class_Handle resolve_class (Compile_Handle h, Class_Handle c, unsigned index)
VMEXPORT Boolean field_is_public (Field_Handle f)
VMEXPORT unsigned field_get_flags (Field_Handle f)
VMEXPORT Java_Type field_get_type (Field_Handle f)
VMEXPORT Boolean field_is_injected (Field_Handle f)
VMEXPORT Boolean method_is_public (Method_Handle m)
VMEXPORT unsigned method_get_max_locals (Method_Handle m)
VMEXPORT unsigned method_get_flags (Method_Handle m)
VMEXPORT Boolean method_uses_fastcall (Method_Handle m)
VMEXPORT Boolean method_is_fake (Method_Handle m)
VMEXPORT unsigned method_number_throws (Method_Handle m)
VMEXPORT Class_Handle method_get_throws (Method_Handle m, unsigned idx)
VMEXPORT Method_Side_Effects method_get_side_effects (Method_Handle m)
VMEXPORT void method_set_side_effects (Method_Handle m, Method_Side_Effects mse)
VMEXPORT Java_Type method_get_return_type (Method_Handle m)
VMEXPORT Class_Handle method_get_return_type_class (Method_Handle m)
VMEXPORT Arg_List_Iterator initialize_arg_list_iterator (const char *descr)
VMEXPORT Arg_List_Iterator method_get_argument_list (Method_Handle m)
VMEXPORT Java_Type curr_arg (Arg_List_Iterator iter)
VMEXPORT Class_Handle get_curr_arg_class (Arg_List_Iterator iter, Method_Handle m)
VMEXPORT Arg_List_Iterator advance_arg_iterator (Arg_List_Iterator iter)
VMEXPORT void method_set_inline_assumption (Compile_Handle h, Method_Handle caller, Method_Handle callee)
VMEXPORT Boolean method_has_annotation (Method_Handle target, Class_Handle antn_type)
VMEXPORT unsigned class_get_flags (Class_Handle cl)
VMEXPORT unsigned class_number_fields (Class_Handle ch)
VMEXPORT Field_Handle class_get_field (Class_Handle ch, unsigned idx)
VMEXPORT int class_get_super_offset ()
VMEXPORT Field_Handle class_get_field_by_name (Class_Handle ch, const char *name)
VMEXPORT Method_Handle class_get_method_by_name (Class_Handle ch, const char *name)
VMEXPORT int class_get_depth (Class_Handle cl)
VMEXPORT Boolean class_has_non_default_finalizer (Class_Handle cl)
VMEXPORT unsigned class_number_implements (Class_Handle ch)
VMEXPORT Class_Handle class_get_implements (Class_Handle ch, unsigned idx)
VMEXPORT const char * class_get_source_file_name (Class_Handle cl)
VMEXPORT Boolean class_property_is_interface (Class_Handle ch)
VMEXPORT uint32 class_get_num_array_dimensions (Class_Handle cl, unsigned short cpIndex)
VMEXPORT ClassLoaderHandle class_get_class_loader (Class_Handle c)
VMEXPORT void class_throw_linking_error_for_jit (Class_Handle ch, unsigned cp_index, unsigned opcode)
void class_throw_linking_error (Class_Handle ch, unsigned cp_index, unsigned opcode)
VMEXPORT Class_Handle class_load_class_by_name (const char *name, Class_Handle c)
VMEXPORT Class_Handle class_load_class_by_descriptor (const char *descr, Class_Handle c)
VMEXPORT Method_Handle class_lookup_method_recursively (Class_Handle clss, const char *name, const char *descr)
VMEXPORT Boolean class_is_cp_entry_resolved (Compile_Handle ch, Class_Handle clazz, unsigned cp_index)
 Returns 'TRUE' if the entry by the given cp_index is resolved.
VMEXPORT Class_Handle class_find_loaded (ClassLoaderHandle, const char *)
VMEXPORT Class_Handle class_find_class_from_loader (ClassLoaderHandle, const char *, Boolean init)
VMEXPORT const char * const_pool_get_field_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_field_class_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_field_descriptor (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_method_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_method_class_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_method_descriptor (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_class_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_interface_method_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_interface_method_class_name (Class_Handle cl, unsigned index)
VMEXPORT const char * const_pool_get_interface_method_descriptor (Class_Handle cl, unsigned index)
VMEXPORT Compile_Handle jit_get_comp_handle (JIT_Handle j)
VMEXPORT void core_free (void *)
VMEXPORT void compiled_method_load (Method_Handle method, uint32 codeSize, void *codeAddr, uint32 mapLength, AddrLocation *addrLocationMap, void *compileInfo, Method_Handle outer_method)
 Adds information about inlined method.


Typedef Documentation

typedef const void* Arg_List_Iterator

Author:
Intel, Alexei Fedotov

Version:
Revision
1.1.2.1.4.3

typedef const void* Arg_List_Iter


Function Documentation

VMEXPORT Field_Handle resolve_field ( Compile_Handle  h,
Class_Handle  c,
unsigned  index 
)

VMEXPORT Method_Handle resolve_nonstatic_method ( Compile_Handle  h,
Class_Handle  c,
unsigned  index 
)

VMEXPORT Method_Handle resolve_special_method ( Compile_Handle  h,
Class_Handle  c,
unsigned  index 
)

VMEXPORT Boolean vm_instanceof_class ( Class *  s,
Class *  t 
)

VMEXPORT Class_Handle resolve_class_new ( Compile_Handle  h,
Class_Handle  c,
unsigned  index 
)

VMEXPORT Class_Handle resolve_class ( Compile_Handle  h,
Class_Handle  c,
unsigned  index 
)

VMEXPORT Boolean field_is_public ( Field_Handle  f  ) 

VMEXPORT unsigned field_get_flags ( Field_Handle  f  ) 

VMEXPORT Java_Type field_get_type ( Field_Handle  f  ) 

VMEXPORT Boolean field_is_injected ( Field_Handle  f  ) 

VMEXPORT Boolean method_is_public ( Method_Handle  m  ) 

VMEXPORT unsigned method_get_max_locals ( Method_Handle  m  ) 

VMEXPORT unsigned method_get_flags ( Method_Handle  m  ) 

VMEXPORT Boolean method_uses_fastcall ( Method_Handle  m  ) 

VMEXPORT Boolean method_is_fake ( Method_Handle  m  ) 

VMEXPORT unsigned method_number_throws ( Method_Handle  m  ) 

VMEXPORT Class_Handle method_get_throws ( Method_Handle  m,
unsigned  idx 
)

VMEXPORT Method_Side_Effects method_get_side_effects ( Method_Handle  m  ) 

VMEXPORT void method_set_side_effects ( Method_Handle  m,
Method_Side_Effects  mse 
)

VMEXPORT Java_Type method_get_return_type ( Method_Handle  m  ) 

VMEXPORT Class_Handle method_get_return_type_class ( Method_Handle  m  ) 

VMEXPORT Arg_List_Iterator initialize_arg_list_iterator ( const char *  descr  ) 

VMEXPORT Arg_List_Iterator method_get_argument_list ( Method_Handle  m  ) 

VMEXPORT Java_Type curr_arg ( Arg_List_Iterator  iter  ) 

VMEXPORT Class_Handle get_curr_arg_class ( Arg_List_Iterator  iter,
Method_Handle  m 
)

VMEXPORT Arg_List_Iterator advance_arg_iterator ( Arg_List_Iterator  iter  ) 

VMEXPORT void method_set_inline_assumption ( Compile_Handle  h,
Method_Handle  caller,
Method_Handle  callee 
)

VMEXPORT Boolean method_has_annotation ( Method_Handle  target,
Class_Handle  antn_type 
)

VMEXPORT unsigned class_get_flags ( Class_Handle  cl  ) 

VMEXPORT unsigned class_number_fields ( Class_Handle  ch  ) 

VMEXPORT Field_Handle class_get_field ( Class_Handle  ch,
unsigned  idx 
)

VMEXPORT int class_get_super_offset (  ) 

VMEXPORT Field_Handle class_get_field_by_name ( Class_Handle  ch,
const char *  name 
)

VMEXPORT Method_Handle class_get_method_by_name ( Class_Handle  ch,
const char *  name 
)

VMEXPORT int class_get_depth ( Class_Handle  cl  ) 

VMEXPORT Boolean class_has_non_default_finalizer ( Class_Handle  cl  ) 

VMEXPORT unsigned class_number_implements ( Class_Handle  ch  ) 

VMEXPORT Class_Handle class_get_implements ( Class_Handle  ch,
unsigned  idx 
)

VMEXPORT const char* class_get_source_file_name ( Class_Handle  cl  ) 

VMEXPORT Boolean class_property_is_interface ( Class_Handle  ch  ) 

VMEXPORT uint32 class_get_num_array_dimensions ( Class_Handle  cl,
unsigned short  cpIndex 
)

VMEXPORT ClassLoaderHandle class_get_class_loader ( Class_Handle  c  ) 

VMEXPORT void class_throw_linking_error_for_jit ( Class_Handle  ch,
unsigned  cp_index,
unsigned  opcode 
)

void class_throw_linking_error ( Class_Handle  ch,
unsigned  cp_index,
unsigned  opcode 
)

VMEXPORT Class_Handle class_load_class_by_name ( const char *  name,
Class_Handle  c 
)

VMEXPORT Class_Handle class_load_class_by_descriptor ( const char *  descr,
Class_Handle  c 
)

VMEXPORT Method_Handle class_lookup_method_recursively ( Class_Handle  clss,
const char *  name,
const char *  descr 
)

VMEXPORT Boolean class_is_cp_entry_resolved ( Compile_Handle  ch,
Class_Handle  clazz,
unsigned  cp_index 
)

Returns 'TRUE' if the entry by the given cp_index is resolved.

VMEXPORT Class_Handle class_find_loaded ( ClassLoaderHandle  ,
const char *   
)

VMEXPORT Class_Handle class_find_class_from_loader ( ClassLoaderHandle  ,
const char *  ,
Boolean  init 
)

VMEXPORT const char* const_pool_get_field_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_field_class_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_field_descriptor ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_method_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_method_class_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_method_descriptor ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_class_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_interface_method_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_interface_method_class_name ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT const char* const_pool_get_interface_method_descriptor ( Class_Handle  cl,
unsigned  index 
)

VMEXPORT Compile_Handle jit_get_comp_handle ( JIT_Handle  j  ) 

VMEXPORT void core_free ( void *   ) 

VMEXPORT void compiled_method_load ( Method_Handle  method,
uint32  codeSize,
void *  codeAddr,
uint32  mapLength,
AddrLocation *  addrLocationMap,
void *  compileInfo,
Method_Handle  outer_method 
)

Adds information about inlined method.

Parameters:
[in] method - method which is inlined
[in] codeSize - size of inlined code block
[in] codeAddr - size of inlined code block
[in] mapLength - number of AddrLocation elements in addrLocationMap
[in] addrLocationMap - native addresses to bytecode locations correspondence table
[in] compileInfo - VM specific information.
[in] outer_method - target method to which inlining was made


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

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