jit_import_rt.h File Reference


Detailed Description

These are the functions that a JIT built as a DLL may call.


Functions

VMEXPORT void vm_enumerate_root_reference (Managed_Object_Handle *ref, Boolean is_pinned)
 Begin root set enumeration functions.
VMEXPORT void vm_enumerate_weak_root_reference (Managed_Object_Handle *ref, Boolean is_pinned)
VMEXPORT void vm_enumerate_compressed_root_reference (uint32 *ref, Boolean is_pinned)
 Resembles vm_enumerate_root_reference(), but is passed the address of a slot containing a compressed reference.
VMEXPORT void vm_enumerate_root_interior_pointer (void **slot, int offset, Boolean is_pinned)
 Like vm_enumerate_root_reference(), but the first argument points to a location that contains a pointer to an inside of an object.
VMEXPORT void vm_enumerate_root_pointer (void **ptr, Boolean is_pinned)
 The JIT enumerates a managed pointer.
VMEXPORT void vm_check_if_monitor (void **reference, void **base_reference, uint32 *compressed_reference, int slotOffset, Boolean pinned, int type)
 Enumerates alive references for owned monitor calculation.


Function Documentation

VMEXPORT void vm_enumerate_root_reference ( Managed_Object_Handle ref,
Boolean  is_pinned 
)

Begin root set enumeration functions.

Enumerate a root entry. The argument is a pointer to the memory location that contains a managed reference. The GC may update this location if the object pointed to has been moved during collection.

VMEXPORT void vm_enumerate_weak_root_reference ( Managed_Object_Handle ref,
Boolean  is_pinned 
)

VMEXPORT void vm_enumerate_compressed_root_reference ( uint32 *  ref,
Boolean  is_pinned 
)

Resembles vm_enumerate_root_reference(), but is passed the address of a slot containing a compressed reference.

VMEXPORT void vm_enumerate_root_interior_pointer ( void **  slot,
int  offset,
Boolean  is_pinned 
)

Like vm_enumerate_root_reference(), but the first argument points to a location that contains a pointer to an inside of an object.

VMEXPORT void vm_enumerate_root_pointer ( void **  ptr,
Boolean  is_pinned 
)

The JIT enumerates a managed pointer.

The pointer can be declared as pinned. The pointer can point to the managed heap or any other area where data can be stored: stack or static fields. It is the responsibility of the runtime system to ignore pointers that are not in the managed heap.

VMEXPORT void vm_check_if_monitor ( void **  reference,
void **  base_reference,
uint32 *  compressed_reference,
int  slotOffset,
Boolean  pinned,
int  type 
)

Enumerates alive references for owned monitor calculation.


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

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