hotspot/src/share/vm/gc/serial/tenuredGeneration.cpp
changeset 33105 294e48b4f704
parent 32735 c6063d028c3c
child 33212 906b3d079b13
equal deleted inserted replaced
33104:a7c0f60a1294 33105:294e48b4f704
   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