< prev index next >
src/hotspot/share/gc/shared/ageTable.hpp
Print this page
rev 57223 : imported patch 8225484-changes-to-survivor-calculation
*** 55,65 ****
// add entry
inline void add(oop p, size_t oop_size);
void add(uint age, size_t oop_size) {
! assert(age > 0 && age < table_size, "invalid age of object");
sizes[age] += oop_size;
}
// Merge another age table with the current one. Used
// for parallel young generation gc.
--- 55,65 ----
// add entry
inline void add(oop p, size_t oop_size);
void add(uint age, size_t oop_size) {
! assert(age < table_size, "invalid age of object");
sizes[age] += oop_size;
}
// Merge another age table with the current one. Used
// for parallel young generation gc.
< prev index next >