equal
deleted
inserted
replaced
127 const size_t capacity_after_gc = capacity(); |
127 const size_t capacity_after_gc = capacity(); |
128 |
128 |
129 CardGeneration::compute_new_size(); |
129 CardGeneration::compute_new_size(); |
130 |
130 |
131 assert(used() == used_after_gc && used_after_gc <= capacity(), |
131 assert(used() == used_after_gc && used_after_gc <= capacity(), |
132 err_msg("used: " SIZE_FORMAT " used_after_gc: " SIZE_FORMAT |
132 "used: " SIZE_FORMAT " used_after_gc: " SIZE_FORMAT |
133 " capacity: " SIZE_FORMAT, used(), used_after_gc, capacity())); |
133 " capacity: " SIZE_FORMAT, used(), used_after_gc, capacity()); |
134 } |
134 } |
135 |
135 |
136 void TenuredGeneration::update_gc_stats(Generation* current_generation, |
136 void TenuredGeneration::update_gc_stats(Generation* current_generation, |
137 bool full) { |
137 bool full) { |
138 // If the young generation has been collected, gather any statistics |
138 // If the young generation has been collected, gather any statistics |