survivorSpace Class Reference

#include <space.hpp>

Inheritance diagram for survivorSpace:

Inheritance graph
[legend]
Collaboration diagram for survivorSpace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

oopbottom ()
ooptop ()
oopend ()
bool contains (void *p)
 survivorSpace ()
oopallocate (int size)
bool would_fit (int size)
void scavenge_contents_from (NewWaterMark *mark)

Protected Member Functions

void set_bottom (oop *value)
void set_top (oop *value)
void set_end (oop *value)

Private Attributes

oop_bottom
oop_top
oop_end

Detailed Description

Definition at line 155 of file space.hpp.


Constructor & Destructor Documentation

survivorSpace::survivorSpace (  ) 

Definition at line 165 of file space.cpp.


Member Function Documentation

oop* survivorSpace::allocate ( int  size  )  [inline]

Definition at line 178 of file space.hpp.

References _end, and _top.

Referenced by newGeneration::allocate_in_survivor_space().

oop* survivorSpace::bottom (  )  [inline, virtual]

Implements space.

Definition at line 162 of file space.hpp.

References _bottom.

Referenced by scavenge_contents_from().

bool survivorSpace::contains ( void *  p  )  [inline]

Definition at line 166 of file space.hpp.

References _bottom, and _top.

Referenced by Universe::should_scavenge(), Universe::spaceFor(), and Universe::verify_oop().

oop* survivorSpace::end (  )  [inline, virtual]

Implements space.

Definition at line 164 of file space.hpp.

References _end.

void survivorSpace::scavenge_contents_from ( NewWaterMark mark  ) 

Definition at line 167 of file space.cpp.

References NewWaterMark::_point, as_memOop(), assert, bottom(), fatal, oopDesc::klass(), lprintf(), memOopDesc::scavenge_contents(), memOopDesc::size(), and top().

Referenced by Universe::scavenge().

Here is the call graph for this function:

void survivorSpace::set_bottom ( oop value  )  [inline, protected, virtual]

Implements space.

Definition at line 169 of file space.hpp.

References _bottom.

void survivorSpace::set_end ( oop value  )  [inline, protected, virtual]

Implements space.

Definition at line 171 of file space.hpp.

References _end.

void survivorSpace::set_top ( oop value  )  [inline, protected, virtual]

Implements space.

Definition at line 170 of file space.hpp.

References _top.

oop* survivorSpace::top (  )  [inline, virtual]

Implements space.

Definition at line 163 of file space.hpp.

References _top.

Referenced by scavenge_contents_from().

bool survivorSpace::would_fit ( int  size  )  [inline]

Definition at line 190 of file space.hpp.

References _end, and _top.

Referenced by newGeneration::would_fit().


Member Data Documentation

oop* survivorSpace::_bottom [private]

Definition at line 157 of file space.hpp.

Referenced by bottom(), contains(), and set_bottom().

oop* survivorSpace::_end [private]

Definition at line 159 of file space.hpp.

Referenced by allocate(), end(), set_end(), and would_fit().

oop* survivorSpace::_top [private]

Definition at line 158 of file space.hpp.

Referenced by allocate(), contains(), set_top(), top(), and would_fit().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:17:57 2006 for Strongtalk VM by  doxygen 1.4.7