oldSpace Class Reference

#include <space.hpp>

Inheritance diagram for oldSpace:

Inheritance graph
[legend]
Collaboration diagram for oldSpace:

Collaboration graph
[legend]
List of all members.

Public Member Functions

oopbottom ()
ooptop ()
oopend ()
bool contains (void *p)
void initialize_threshold ()
void update_offsets (oop *begin, oop *end)
oopobject_start (oop *p)
void update_offset_array (oop *p, oop *p_end)
oopexpand_and_allocate (int size)
oopallocate (int size)
 oldSpace (char *nm, int &size)
void scavenge_contents_from (OldWaterMark *mark)
void object_iterate_from (OldWaterMark *mark, ObjectClosure *blk)
void scavenge_recorded_stores ()
void verify ()
OldWaterMark top_mark ()
OldWaterMark bottom_mark ()

Public Attributes

oldSpacenext_space
u_charoffset_array
oopnext_offset_treshold
int next_offset_index

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

Friends

class space

Detailed Description

Definition at line 196 of file space.hpp.


Constructor & Destructor Documentation

oldSpace::oldSpace ( char *  nm,
int &  size 
)

Definition at line 206 of file space.cpp.

References card_size, initialize_threshold(), NEW_C_HEAP_ARRAY, next_space, offset_array, Universe::old_gen, set_bottom(), set_end(), space::set_name(), and set_top().

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 233 of file space.hpp.

References _end, _top, expand_and_allocate(), and update_offsets().

Referenced by oldGeneration::allocate(), and expand_and_allocate().

Here is the call graph for this function:

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

Implements space.

Definition at line 203 of file space.hpp.

References _bottom.

Referenced by oldGeneration::allocate_in_next_space(), oldGeneration::expand(), rSet::number_of_dirty_pages_in(), rSet::number_of_pages_with_dirty_objects_in(), object_start(), rSet::print_set_for_space(), and rSet::scavenge_contents().

OldWaterMark oldSpace::bottom_mark (  )  [inline]

Definition at line 263 of file space.hpp.

References _bottom, OldWaterMark::_point, and OldWaterMark::_space.

Referenced by oldGeneration::bottom_mark(), and oldGeneration::scavenge_contents_from().

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

Definition at line 207 of file space.hpp.

References _bottom, and _top.

Referenced by object_start().

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

Implements space.

Definition at line 205 of file space.hpp.

References _end.

Referenced by oldGeneration::allocate_in_next_space(), oldGeneration::expand(), and update_offsets().

oop * oldSpace::expand_and_allocate ( int  size  ) 

Definition at line 231 of file space.cpp.

References allocate(), VirtualSpace::expand(), K, max(), Universe::old_gen, ReservedSpace::page_align_size(), set_end(), and generation::virtual_space.

Referenced by allocate().

Here is the call graph for this function:

void oldSpace::initialize_threshold (  ) 

Definition at line 200 of file space.cpp.

References _bottom, card_size_in_oops, next_offset_index, next_offset_treshold, and offset_array.

Referenced by MarkSweep::mark_sweep_phase3(), and oldSpace().

void oldSpace::object_iterate_from ( OldWaterMark mark,
ObjectClosure blk 
)

Definition at line 255 of file space.cpp.

References OldWaterMark::_point, as_memOop(), ObjectClosure::begin_space(), ObjectClosure::do_object(), ObjectClosure::end_space(), memOopDesc::size(), and top().

Referenced by oldGeneration::object_iterate_from().

Here is the call graph for this function:

oop * oldSpace::object_start ( oop p  ) 

Definition at line 358 of file space.cpp.

References as_memOop(), assert, bottom(), card_shift, card_size_in_oops, clearBits, contains(), nthMask, offset_array, and memOopDesc::size().

Referenced by rSet::has_page_dirty_objects(), and rSet::scavenge_contents().

Here is the call graph for this function:

void oldSpace::scavenge_contents_from ( OldWaterMark mark  ) 

Definition at line 243 of file space.cpp.

References OldWaterMark::_point, OldWaterMark::_space, _top, as_memOop(), assert, and oopDesc::is_mark().

Referenced by oldGeneration::scavenge_contents_from().

Here is the call graph for this function:

void oldSpace::scavenge_recorded_stores (  ) 

Definition at line 239 of file space.cpp.

References Universe::remembered_set, and rSet::scavenge_contents().

Here is the call graph for this function:

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

Implements space.

Definition at line 210 of file space.hpp.

References _bottom.

Referenced by oldSpace().

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

Implements space.

Definition at line 212 of file space.hpp.

References _end.

Referenced by expand_and_allocate(), and oldSpace().

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

Implements space.

Definition at line 211 of file space.hpp.

References _top.

Referenced by space::compact(), and oldSpace().

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

Implements space.

Definition at line 204 of file space.hpp.

References _top.

Referenced by rSet::has_page_dirty_objects(), rSet::number_of_dirty_pages_in(), rSet::number_of_pages_with_dirty_objects_in(), object_iterate_from(), rSet::print_set_for_space(), and rSet::scavenge_contents().

OldWaterMark oldSpace::top_mark (  )  [inline]

Definition at line 256 of file space.hpp.

References OldWaterMark::_point, OldWaterMark::_space, and _top.

Referenced by oldGeneration::top_mark().

void oldSpace::update_offset_array ( oop p,
oop p_end 
)

Definition at line 217 of file space.cpp.

References assert, card_size_in_oops, next_offset_index, next_offset_treshold, and offset_array.

Referenced by update_offsets().

void oldSpace::update_offsets ( oop begin,
oop end 
) [inline]

Definition at line 216 of file space.hpp.

References end(), next_offset_treshold, and update_offset_array().

Referenced by allocate(), and space::compact().

Here is the call graph for this function:

void oldSpace::verify (  )  [virtual]

Implements space.

Definition at line 338 of file space.cpp.

References _bottom, _top, as_memOop(), assert, oopDesc::is_mark(), lprintf(), space::name(), Universe::object_start(), memOopDesc::oop_iterate(), and VerifyOldOopClosure::the_obj.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class space [friend]

Definition at line 197 of file space.hpp.


Member Data Documentation

oop* oldSpace::_bottom [private]

Definition at line 199 of file space.hpp.

Referenced by bottom(), bottom_mark(), contains(), initialize_threshold(), set_bottom(), and verify().

oop* oldSpace::_end [private]

Definition at line 201 of file space.hpp.

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

oop* oldSpace::_top [private]

Definition at line 200 of file space.hpp.

Referenced by allocate(), contains(), scavenge_contents_from(), set_top(), top(), top_mark(), and verify().

int oldSpace::next_offset_index

Definition at line 231 of file space.hpp.

Referenced by initialize_threshold(), and update_offset_array().

oop* oldSpace::next_offset_treshold

Definition at line 230 of file space.hpp.

Referenced by initialize_threshold(), update_offset_array(), and update_offsets().

oldSpace* oldSpace::next_space

Definition at line 220 of file space.hpp.

Referenced by oldGeneration::allocate_in_next_space(), oldGeneration::append_space(), oldGeneration::object_iterate_from(), oldSpace(), and oldGeneration::scavenge_contents_from().

u_char* oldSpace::offset_array

Definition at line 229 of file space.hpp.

Referenced by initialize_threshold(), object_start(), oldSpace(), and update_offset_array().


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