#include <space.hpp>
Inheritance diagram for survivorSpace:
Public Member Functions | |
oop * | bottom () |
oop * | top () |
oop * | end () |
bool | contains (void *p) |
survivorSpace () | |
oop * | allocate (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 |
Definition at line 155 of file space.hpp.
oop* survivorSpace::allocate | ( | int | size | ) | [inline] |
Definition at line 178 of file space.hpp.
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.
Referenced by Universe::should_scavenge(), Universe::spaceFor(), and Universe::verify_oop().
oop* survivorSpace::end | ( | ) | [inline, virtual] |
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] |
void survivorSpace::set_end | ( | oop * | value | ) | [inline, protected, virtual] |
void survivorSpace::set_top | ( | oop * | value | ) | [inline, protected, virtual] |
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] |
oop* survivorSpace::_bottom [private] |
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().