Public Member Functions | |
void | freeAtAddress (SegManager *segMan, reg_t sub_addr) override |
Common::Array< reg_t > | listAllOutgoingReferences (reg_t object) const override |
void | saveLoadWithSerializer (Common::Serializer &ser) override |
Public Member Functions inherited from Sci::SegmentObjTable< Node > | |
SegmentObjTable (SegmentType type) | |
void | initTable () |
int | allocEntry () |
bool | isValidOffset (uint32 offset) const override |
bool | isValidEntry (int idx) const |
virtual void | freeEntry (int idx) |
Common::Array< reg_t > | listAllDeallocatable (SegmentId segId) const override |
uint | size () const |
Node & | at (uint index) |
const Node & | at (uint index) const |
Node & | operator[] (uint index) |
const Node & | operator[] (uint index) const |
Public Member Functions inherited from Sci::SegmentObj | |
SegmentObj (SegmentType type) | |
SegmentType | getType () const |
virtual SegmentRef | dereference (reg_t pointer) |
virtual reg_t | findCanonicAddress (SegManager *segMan, reg_t sub_addr) const |
Additional Inherited Members | |
Public Types inherited from Sci::SegmentObjTable< Node > | |
enum | |
typedef Node | value_type |
typedef Common::Array< Entry > | ArrayType |
Static Public Member Functions inherited from Sci::SegmentObj | |
static SegmentObj * | createSegmentObj (SegmentType type) |
Public Attributes inherited from Sci::SegmentObjTable< Node > | |
int | first_free |
int | entries_used |
ArrayType | _table |
Public Attributes inherited from Sci::SegmentObj | |
SegmentType | _type |
|
inlineoverridevirtual |
Deallocates all memory associated with the specified address. Used by the garbage collector.
sub_addr | address (within the given segment) to deallocate |
Reimplemented from Sci::SegmentObj.
|
overridevirtual |
Iterates over all references reachable from the specified object. Used by the garbage collector.
object | object (within the current segment) to analyze |
Reimplemented from Sci::SegmentObj.