< prev index next >
src/share/vm/gc/serial/tenuredGeneration.cpp
Print this page
*** 127,138 ****
const size_t capacity_after_gc = capacity();
CardGeneration::compute_new_size();
assert(used() == used_after_gc && used_after_gc <= capacity(),
! err_msg("used: " SIZE_FORMAT " used_after_gc: " SIZE_FORMAT
! " capacity: " SIZE_FORMAT, used(), used_after_gc, capacity()));
}
void TenuredGeneration::update_gc_stats(Generation* current_generation,
bool full) {
// If the young generation has been collected, gather any statistics
--- 127,138 ----
const size_t capacity_after_gc = capacity();
CardGeneration::compute_new_size();
assert(used() == used_after_gc && used_after_gc <= capacity(),
! "used: " SIZE_FORMAT " used_after_gc: " SIZE_FORMAT
! " capacity: " SIZE_FORMAT, used(), used_after_gc, capacity());
}
void TenuredGeneration::update_gc_stats(Generation* current_generation,
bool full) {
// If the young generation has been collected, gather any statistics
< prev index next >