hotspot/src/share/vm/gc/cms/parNewGeneration.cpp
changeset 35492 c8c0273e6b91
parent 35061 be6025ebffea
child 35862 411842d0c882
equal deleted inserted replaced
35491:663c609dfeee 35492:c8c0273e6b91
   453     // retire the last buffer.
   453     // retire the last buffer.
   454     par_scan_state.to_space_alloc_buffer()->flush_and_retire_stats(_young_gen.plab_stats());
   454     par_scan_state.to_space_alloc_buffer()->flush_and_retire_stats(_young_gen.plab_stats());
   455 
   455 
   456     // Every thread has its own age table.  We need to merge
   456     // Every thread has its own age table.  We need to merge
   457     // them all into one.
   457     // them all into one.
   458     ageTable *local_table = par_scan_state.age_table();
   458     AgeTable *local_table = par_scan_state.age_table();
   459     _young_gen.age_table()->merge(local_table);
   459     _young_gen.age_table()->merge(local_table);
   460 
   460 
   461     // Inform old gen that we're done.
   461     // Inform old gen that we're done.
   462     _old_gen.par_promote_alloc_done(i);
   462     _old_gen.par_promote_alloc_done(i);
   463     _old_gen.par_oop_since_save_marks_iterate_done(i);
   463     _old_gen.par_oop_since_save_marks_iterate_done(i);
   467     // We need to call this even when ResizeOldPLAB is disabled
   467     // We need to call this even when ResizeOldPLAB is disabled
   468     // so as to avoid breaking some asserts. While we may be able
   468     // so as to avoid breaking some asserts. While we may be able
   469     // to avoid this by reorganizing the code a bit, I am loathe
   469     // to avoid this by reorganizing the code a bit, I am loathe
   470     // to do that unless we find cases where ergo leads to bad
   470     // to do that unless we find cases where ergo leads to bad
   471     // performance.
   471     // performance.
   472     CFLS_LAB::compute_desired_plab_size();
   472     CompactibleFreeListSpaceLAB::compute_desired_plab_size();
   473   }
   473   }
   474 }
   474 }
   475 
   475 
   476 ParScanClosure::ParScanClosure(ParNewGeneration* g,
   476 ParScanClosure::ParScanClosure(ParNewGeneration* g,
   477                                ParScanThreadState* par_scan_state) :
   477                                ParScanThreadState* par_scan_state) :