#include <ageTable.hpp>
Inheritance diagram for ageTable:
Public Types | |
table_size = markOopDesc::max_age + 1 | |
enum | { table_size = markOopDesc::max_age + 1 } |
Public Member Functions | |
ageTable () | |
void | clear () |
void | add (memOop p, int oop_size) |
int | tenure_size (int age) |
int | tenuring_threshold (int oop_size) |
Public Attributes | |
int | sizes [table_size] |
Definition at line 26 of file ageTable.hpp.
anonymous enum |
ageTable::ageTable | ( | ) |
Definition at line 27 of file ageTable.cpp.
References clear().
Here is the call graph for this function:
void ageTable::add | ( | memOop | p, | |
int | oop_size | |||
) | [inline] |
Definition at line 37 of file ageTable.hpp.
References markOopDesc::age(), assert, memOopDesc::mark(), sizes, and table_size.
Referenced by memOopDesc::copy_to_survivor_space().
Here is the call graph for this function:
void ageTable::clear | ( | ) | [inline] |
Definition at line 36 of file ageTable.hpp.
References set_words(), sizes, and table_size.
Referenced by ageTable(), and Universe::scavenge().
Here is the call graph for this function:
int ageTable::tenure_size | ( | int | age | ) |
int ageTable::tenuring_threshold | ( | int | oop_size | ) |
Definition at line 37 of file ageTable.cpp.
References sizes, and table_size.
Referenced by Universe::scavenge().
int ageTable::sizes[table_size] |
Definition at line 30 of file ageTable.hpp.
Referenced by add(), clear(), tenure_size(), and tenuring_threshold().