Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

Map Class Reference

#include <map.h>

Class diagram for Map:

MapBase slotsMap markMap mapMap immediateMap blockMap slotsMapDeps codeSlotsMap smiMap floatMap profilerMap processMap objVectorMap mirrorMap foreignMap codeLikeSlotsMap byteVectorMap methodMap

List of all members.

Public Members

bool is_smi ()
bool is_float ()
virtual bool is_assignment ()
virtual bool is_block ()
virtual bool is_byteVector ()
virtual bool is_map ()
virtual bool is_objVector ()
virtual bool is_slots ()
virtual bool is_string ()
virtual bool is_mirror ()
virtual bool is_programmable_slots ()
virtual bool is_process ()
virtual bool is_vframe ()
virtual bool is_method_like ()
virtual bool is_killable ()
virtual bool is_foreign ()
virtual bool is_proxy ()
virtual bool is_fctProxy ()
virtual bool is_profiler ()
virtual bool should_canonicalize ()
virtual bool can_have_dependents ()
bool compare (Map* m)
bool equal (Map* other)
VtblPtr_t vtbl_value ()
void set_vtbl_value (VtblPtr_t vtbl)
virtual oop fill_in_slots (slotList* slist, fint slotCount) = 0
virtual fint length_slots () = 0
virtual fint length_nonVM_slots ()
fint length_obj_slots ()
virtual slotDescslots ()
slotDescslot (fint i)
virtual SlotIteratorslotIterator ()
fint find_slot_index_for (stringOop name, bool &found)
virtual slotDescfind_slot (stringOop name)
slotDescfind_nonVM_slot (stringOop name)
slotDescfind_assignee_slot ( stringOop name)
virtual oop get_annotation ()
virtual void set_annotation (oop a)
virtual oop mirror_get_annotation (oop obj)
virtual oop mirror_copy_set_annotation (oop obj, oop a, bool mustAllocate= false)
virtual oop mirror_annotation_at (oop obj, stringOop name)
virtual oop define (oop obj, oop contents)
oop add_slots_to (oop src, oop dst, bool new_only, void *FH)
virtual oop copy_add_slot (oop obj, stringOop name, slotType t, oop contents, oop anno, bool mustAllocate= false)
virtual oop copy_remove_slot (oop obj, stringOop name, bool mustAllocate= false)
virtual void switch_pointer (oop obj, oop* where, oop to) = 0
virtual void switch_pointer_in_map (oop* where, oop to)
virtual oop fix_up_method ( oop obj, oop old_optimized_method, bool isOKToBashLiteralVector= false, bool mustAllocate= true, IntBList* stack_deltas = NULL)
virtual fint length_obj_array (oop obj)
virtual oop* obj_array (oop obj, fint which = 0)
virtual oop obj_at (oop obj, fint which)
virtual void obj_at_put (oop obj, fint which, oop contents)
virtual fint length_byte_array (oop obj)
virtual char* byte_array (oop obj, fint which = 0)
virtual char byte_at (oop obj, fint which)
virtual void byte_at_put (oop obj, fint which, char contents)
virtual bool has_code ()
virtual byteVectorOop codes ()
virtual objVectorOop literals ()
virtual stringOop file ()
virtual smiOop line ()
virtual stringOop source ()
virtual MethodKind kind ()
virtual oop clone (oop obj, bool mustAllocate= true, oop genObj= NULL) = 0
virtual bool can_inline_clone ()
virtual oop cloneSize (oop obj, fint length, bool mustAllocate= true, oop filler= NULL)
virtual Map* initialize ()
virtual void init (stringOop name, slotsOop method)
virtual mirrorOop mirror_proto () = 0
virtual oop mirror_reflectee (oop r)
virtual oop mirror_codes (oop r)
virtual oop mirror_literals (oop r)
virtual oop mirror_source (oop r)
virtual oop mirror_source_length (oop r)
virtual oop mirror_source_offset (oop r)
virtual oop mirror_file (oop r)
virtual oop mirror_line (oop r)
virtual oop mirror_names (oop r)
virtual oop mirror_name_at (oop obj, smi inx)
virtual oop mirror_contents_at (oop r, stringOop name)
virtual oop mirror_is_parent_at (oop r, stringOop name)
virtual oop mirror_is_argument_at (oop r, stringOop name)
virtual oop mirror_is_assignable_at (oop r, stringOop name)
virtual oop mirror_sender (oop r)
virtual oop mirror_parent (oop r)
virtual oop mirror_selector (oop r)
virtual oop mirror_bci (oop r)
virtual oop mirror_receiver (oop r)
virtual oop mirror_expr_stack (oop r)
virtual oop mirror_methodHolder (oop r)
virtual oop dummy_obj (oop filler) = 0
virtual fint size () = 0
virtual fint empty_object_size () = 0
virtual fint object_size (oop obj) = 0
virtual fint object_byte_size (oop obj)
virtual fint arg_count ()
Map* copy (bool mustAllocate= true, oop genObj= NULL)
Map* grow (fint delta, bool mustAllocate= true)
Map* insert (fint index, bool mustAllocate= true)
Map* remove (slotDesc* slot, fint delta, bool mustAllocate= true)
virtual bool verify (oop obj) = 0
virtual bool verifyBytesPart (oop obj, char*& b)
virtual oop scavenge (oop obj) = 0
virtual void delete_map ()
virtual void shift_map (Map* target)
virtual void gc_mark_contents (oop p)
virtual void fixup ()
virtual void kill (oop p)
virtual bool is_live (oop p)
virtual int32 debug_size (oop p)
virtual void print_string (oop obj, char* buf)
virtual void print_oop (oop obj)
virtual void print (oop obj)
virtual void print_objVector (oop obj)
virtual void print_byteVector (oop obj)
virtual void print_code (oop obj)
void print_map ()
bool has_assignment_slots ()
bool matching_slots_data (oop match)
bool matching_slots_name (oop match)
bool matching_slots_assignment_name (oop match)
virtual bool is_enumerable (oop obj, oop* matching_cell) = 0

Protected Members

fint find_slot_index_binary_for (stringOop name, bool &found)
fint find_slot_index_linear_for (stringOop name, bool &found)
slotDescfind_slot_linear (stringOop name)
slotDescfind_slot_binary (stringOop name)
virtual void switch_pointer_in_map_slot (slotDesc *s, oop* where, oop to)
Map* allocInit (mapOop new_map)

Friends

Map* create_map (fint size, slotList *slots, Map *mm, oop *obj)
void findSlot_init ()

Detailed Description


Member Function Documentation

bool Map::is_smi () [inline]

bool Map::is_float () [inline]

virtual bool Map::is_assignment () [inline, virtual]

Reimplemented in assignmentMap.

virtual bool Map::is_block () [inline, virtual]

Reimplemented in blockMap.

virtual bool Map::is_byteVector () [inline, virtual]

Reimplemented in byteVectorMap.

virtual bool Map::is_map () [inline, virtual]

Reimplemented in mapMap.

virtual bool Map::is_objVector () [inline, virtual]

Reimplemented in objVectorMap.

virtual bool Map::is_slots () [inline, virtual]

Reimplemented in slotsMap.

virtual bool Map::is_string () [inline, virtual]

Reimplemented in stringMap.

virtual bool Map::is_mirror () [inline, virtual]

Reimplemented in mirrorMap.

virtual bool Map::is_programmable_slots () [inline, virtual]

Reimplemented in assignmentMap, slotsMap, stringMap, and vframeMap.

virtual bool Map::is_process () [inline, virtual]

Reimplemented in processMap.

virtual bool Map::is_vframe () [inline, virtual]

Reimplemented in vframeMap.

virtual bool Map::is_method_like () [inline, virtual]

Reimplemented in assignmentMap, codeLikeSlotsMap, and codeSlotsMap.

virtual bool Map::is_killable () [inline, virtual]

Reimplemented in blockMap, foreignMap, processMap, and vframeMap.

virtual bool Map::is_foreign () [inline, virtual]

Reimplemented in foreignMap.

virtual bool Map::is_proxy () [inline, virtual]

Reimplemented in proxyMap.

virtual bool Map::is_fctProxy () [inline, virtual]

Reimplemented in fctProxyMap.

virtual bool Map::is_profiler () [inline, virtual]

Reimplemented in profilerMap.

virtual bool Map::should_canonicalize () [inline, virtual]

Reimplemented in slotsMapDeps, and stringMap.

virtual bool Map::can_have_dependents () [inline, virtual]

Reimplemented in slotsMapDeps.

bool Map::compare (Map * m)

bool Map::equal (Map * other)

VtblPtr_t Map::vtbl_value () [inline]

void Map::set_vtbl_value (VtblPtr_t vtbl) [inline]

virtual oop Map::fill_in_slots (slotList * slist, fint slotCount) [pure virtual]

Reimplemented in blockMap, immediateMap, mapMap, markMap, slotsMap, and slotsMapDeps.

virtual fint Map::length_slots () [pure virtual]

Reimplemented in blockMap, immediateMap, mapMap, markMap, and slotsMap.

fint Map::length_nonVM_slots () [virtual]

Reimplemented in immediateMap, mapMap, and markMap.

fint Map::length_obj_slots ()

virtual slotDesc * Map::slots () [inline, virtual]

Reimplemented in blockMap, blockMethodMap, methodMap, slotsMap, and slotsMapDeps.

slotDesc * Map::slot (fint i) [inline]

virtual SlotIterator * Map::slotIterator () [inline, virtual]

fint Map::find_slot_index_for (stringOop name, bool & found)

slotDesc * Map::find_slot (stringOop name) [virtual]

Reimplemented in blockMap.

slotDesc * Map::find_nonVM_slot (stringOop name)

slotDesc * Map::find_assignee_slot (stringOop assigner_name)

virtual oop Map::get_annotation () [inline, virtual]

Reimplemented in slotsMap.

virtual void Map::set_annotation (oop a) [inline, virtual]

Reimplemented in slotsMap.

oop Map::mirror_get_annotation (oop r) [virtual]

oop Map::mirror_copy_set_annotation (oop r, oop a, bool mustAllocate = false) [virtual]

Reimplemented in slotsMap.

oop Map::mirror_annotation_at (oop obj, stringOop name) [virtual]

Reimplemented in vframeMap.

oop Map::define (oop obj, oop contents) [virtual]

Reimplemented in slotsMapDeps.

oop Map::add_slots_to (oop src, oop dst, bool new_only, void * FH)

oop Map::copy_add_slot (oop obj, stringOop name, slotType type, oop contents, oop anno, bool mustAllocate = false) [virtual]

Reimplemented in slotsMap.

oop Map::copy_remove_slot (oop obj, stringOop name, bool mustAllocate = false) [virtual]

Reimplemented in slotsMap.

virtual void Map::switch_pointer (oop obj, oop * where, oop to) [pure virtual]

Reimplemented in blockMap, immediateMap, mapMap, markMap, mirrorMap, objVectorMap, processMap, and slotsMap.

void Map::switch_pointer_in_map (oop * where, oop to) [virtual]

Reimplemented in blockMap, and slotsMap.

oop Map::fix_up_method (oop new_obj, oop old_optimized_method, bool isOKToBashLiteralVector = false, bool mustAllocate = true, IntBList * stack_deltas = NULL) [virtual]

Reimplemented in methodMap.

virtual fint Map::length_obj_array (oop obj) [inline, virtual]

Reimplemented in objVectorMap.

virtual oop * Map::obj_array (oop obj, fint which = 0) [inline, virtual]

Reimplemented in objVectorMap.

virtual oop Map::obj_at (oop obj, fint which) [inline, virtual]

Reimplemented in objVectorMap.

virtual void Map::obj_at_put (oop obj, fint which, oop contents) [inline, virtual]

Reimplemented in objVectorMap.

virtual fint Map::length_byte_array (oop obj) [inline, virtual]

Reimplemented in byteVectorMap.

virtual char * Map::byte_array (oop obj, fint which = 0) [inline, virtual]

Reimplemented in byteVectorMap.

virtual char Map::byte_at (oop obj, fint which) [inline, virtual]

Reimplemented in byteVectorMap.

virtual void Map::byte_at_put (oop obj, fint which, char contents) [inline, virtual]

Reimplemented in byteVectorMap.

virtual bool Map::has_code () [inline, virtual]

Reimplemented in methodMap.

virtual byteVectorOop Map::codes () [inline, virtual]

Reimplemented in methodMap.

virtual objVectorOop Map::literals () [inline, virtual]

Reimplemented in methodMap.

virtual stringOop Map::file () [inline, virtual]

Reimplemented in methodMap.

virtual smiOop Map::line () [inline, virtual]

Reimplemented in methodMap.

virtual stringOop Map::source () [inline, virtual]

Reimplemented in methodMap.

virtual MethodKind Map::kind () [inline, virtual]

Reimplemented in blockMethodMap, and outerMethodMap.

virtual oop Map::clone (oop obj, bool mustAllocate = true, oop genObj = NULL) [pure virtual]

Reimplemented in assignmentMap, blockMap, byteVectorMap, foreignMap, immediateMap, mapMap, markMap, objVectorMap, processMap, slotsMap, stringMap, and vframeMap.

virtual bool Map::can_inline_clone () [inline, virtual]

Reimplemented in blockMap, byteVectorMap, foreignMap, immediateMap, objVectorMap, processMap, profilerMap, proxyMap, slotsMap, stringMap, and vframeMap.

oop Map::cloneSize (oop obj, fint length, bool mustAllocate = true, oop filler = NULL) [virtual]

Reimplemented in assignmentMap, byteVectorMap, immediateMap, mapMap, objVectorMap, processMap, slotsMap, stringMap, and vframeMap.

virtual Map * Map::initialize () [inline, virtual]

Reimplemented in slotsMapDeps.

virtual void Map::init (stringOop name, slotsOop method) [inline, virtual]

Reimplemented in blockMap.

virtual mirrorOop Map::mirror_proto () [pure virtual]

Reimplemented in assignmentMap, blockMap, blockMethodMap, bvframeMap, byteVectorMap, fctProxyMap, floatMap, mapMap, markMap, mirrorMap, objVectorMap, outerMethodMap, ovframeMap, processMap, profilerMap, proxyMap, slotsMap, smiMap, and stringMap.

virtual oop Map::mirror_reflectee (oop r) [inline, virtual]

Reimplemented in codeLikeSlotsMap, and codeSlotsMap.

virtual oop Map::mirror_codes (oop obj) [virtual]

Reimplemented in methodMap, and vframeMap.

virtual oop Map::mirror_literals (oop obj) [virtual]

Reimplemented in methodMap, and vframeMap.

virtual oop Map::mirror_source (oop obj) [virtual]

Reimplemented in methodMap, and vframeMap.

virtual oop Map::mirror_source_length (oop obj) [virtual]

Reimplemented in blockMethodMap, outerMethodMap, and vframeMap.

virtual oop Map::mirror_source_offset (oop obj) [virtual]

Reimplemented in blockMethodMap, outerMethodMap, and vframeMap.

virtual oop Map::mirror_file (oop obj) [virtual]

Reimplemented in methodMap, and vframeMap.

virtual oop Map::mirror_line (oop obj) [virtual]

Reimplemented in methodMap, and vframeMap.

oop Map::mirror_names (oop obj) [virtual]

Reimplemented in codeSlotsMap, and vframeMap.

oop Map::mirror_name_at (oop obj, smi inx) [virtual]

Reimplemented in vframeMap.

oop Map::mirror_contents_at (oop obj, stringOop name) [virtual]

Reimplemented in vframeMap.

oop Map::mirror_is_parent_at (oop r, stringOop name) [virtual]

Reimplemented in vframeMap.

oop Map::mirror_is_argument_at (oop r, stringOop name) [virtual]

Reimplemented in vframeMap.

oop Map::mirror_is_assignable_at (oop r, stringOop name) [virtual]

Reimplemented in vframeMap.

virtual oop Map::mirror_sender (oop obj) [virtual]

Reimplemented in vframeMap.

virtual oop Map::mirror_parent (oop obj) [virtual]

Reimplemented in blockMap, blockMethodMap, and vframeMap.

virtual oop Map::mirror_selector (oop obj) [virtual]

Reimplemented in vframeMap.

virtual oop Map::mirror_bci (oop obj) [virtual]

Reimplemented in vframeMap.

virtual oop Map::mirror_receiver (oop obj) [virtual]

Reimplemented in vframeMap.

virtual oop Map::mirror_expr_stack (oop obj) [virtual]

Reimplemented in vframeMap.

virtual oop Map::mirror_methodHolder (oop obj) [virtual]

Reimplemented in vframeMap.

virtual oop Map::dummy_obj (oop filler) [pure virtual]

Reimplemented in blockMap, floatMap, mapMap, markMap, slotsMap, and smiMap.

virtual fint Map::size () [pure virtual]

Reimplemented in blockMap, immediateMap, mapMap, markMap, and slotsMap.

virtual fint Map::empty_object_size () [pure virtual]

Reimplemented in blockMap, byteVectorMap, fctProxyMap, foreignMap, immediateMap, mapMap, markMap, mirrorMap, objVectorMap, processMap, profilerMap, proxyMap, slotsMap, and vframeMap.

virtual fint Map::object_size (oop obj) [pure virtual]

Reimplemented in blockMap, immediateMap, mapMap, markMap, objVectorMap, and slotsMap.

virtual fint Map::object_byte_size (oop obj) [inline, virtual]

Reimplemented in byteVectorMap, and immediateMap.

virtual fint Map::arg_count () [inline, virtual]

Reimplemented in assignmentMap, codeLikeSlotsMap, and codeSlotsMap.

Map * Map::copy (bool mustAllocate = true, oop genObj = NULL) [inline]

Map * Map::grow (fint delta, bool mustAllocate = true) [inline]

Map * Map::insert (fint index, bool mustAllocate = true) [inline]

Map * Map::remove (slotDesc * slot, fint delta, bool mustAllocate = true) [inline]

virtual bool Map::verify (oop obj) [pure virtual]

Reimplemented in blockMap, blockMethodMap, byteVectorMap, immediateMap, mapMap, markMap, methodMap, objVectorMap, outerMethodMap, profilerMap, slotsMap, stringMap, and vframeMap.

bool Map::verifyBytesPart (oop obj, char *& b) [virtual]

Reimplemented in byteVectorMap.

virtual oop Map::scavenge (oop obj) [pure virtual]

Reimplemented in blockMap, byteVectorMap, immediateMap, mapMap, markMap, objVectorMap, slotsMap, and stringMap.

virtual void Map::delete_map () [inline, virtual]

Reimplemented in slotsMapDeps.

virtual void Map::shift_map (Map * target) [inline, virtual]

Reimplemented in slotsMapDeps.

virtual void Map::gc_mark_contents (oop p) [inline, virtual]

Reimplemented in processMap.

virtual void Map::fixup () [inline, virtual]

Reimplemented in slotsMapDeps.

virtual void Map::kill (oop p) [inline, virtual]

Reimplemented in blockMap, fctProxyMap, foreignMap, processMap, proxyMap, and vframeMap.

virtual bool Map::is_live (oop p) [inline, virtual]

Reimplemented in blockMap, foreignMap, processMap, proxyMap, and vframeMap.

virtual int32 Map::debug_size (oop p) [inline, virtual]

Reimplemented in methodMap, and stringMap.

void Map::print_string (oop obj, char * buf) [virtual]

Reimplemented in floatMap, markMap, methodMap, profilerMap, smiMap, stringMap, and vframeMap.

void Map::print_oop (oop obj) [virtual]

Reimplemented in floatMap, markMap, methodMap, profilerMap, smiMap, stringMap, and vframeMap.

void Map::print (oop obj) [virtual]

Reimplemented in blockMap, fctProxyMap, floatMap, mapMap, markMap, mirrorMap, processMap, profilerMap, proxyMap, slotsMap, smiMap, stringMap, and vframeMap.

virtual void Map::print_objVector (oop obj) [inline, virtual]

Reimplemented in objVectorMap.

virtual void Map::print_byteVector (oop obj) [inline, virtual]

virtual void Map::print_code (oop obj) [inline, virtual]

Reimplemented in methodMap.

void Map::print_map () [inline]

bool Map::has_assignment_slots ()

bool Map::matching_slots_data (oop match)

bool Map::matching_slots_name (oop match)

bool Map::matching_slots_assignment_name (oop match)

virtual bool Map::is_enumerable (oop obj, oop * matching_cell) [pure virtual]

Reimplemented in blockMap, fctProxyMap, immediateMap, mapMap, markMap, mirrorMap, slotsMap, and vframeMap.

fint Map::find_slot_index_binary_for (stringOop name, bool & found) [protected]

fint Map::find_slot_index_linear_for (stringOop name, bool & found) [protected]

slotDesc * Map::find_slot_linear (stringOop name) [inline, protected]

slotDesc * Map::find_slot_binary (stringOop name) [inline, protected]

void Map::switch_pointer_in_map_slot (slotDesc * s, oop * where, oop to) [protected, virtual]

Reimplemented in slotsMapDeps.

Map * Map::allocInit (mapOop new_map) [inline, protected]


Friends And Related Function Documentation

Map* create_map (fint size, slotList * slots, Map * mm, oop * obj) [friend]

void findSlot_init () [friend]


The documentation for this class was generated from the following files:
Generated at Tue Jun 27 12:07:51 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999