620 // done. It will also disable promotion tracking for the rest of |
620 // done. It will also disable promotion tracking for the rest of |
621 // this GC as it's not necessary to be on during reference processing. |
621 // this GC as it's not necessary to be on during reference processing. |
622 _old_gen->par_oop_since_save_marks_iterate_done((int) worker_id); |
622 _old_gen->par_oop_since_save_marks_iterate_done((int) worker_id); |
623 } |
623 } |
624 |
624 |
625 ParNewGeneration::ParNewGeneration(ReservedSpace rs, size_t initial_byte_size) |
625 ParNewGeneration::ParNewGeneration(ReservedSpace rs, |
626 : DefNewGeneration(rs, initial_byte_size, "CMS young collection pauses"), |
626 size_t initial_byte_size, |
|
627 size_t min_byte_size, |
|
628 size_t max_byte_size) |
|
629 : DefNewGeneration(rs, initial_byte_size, min_byte_size, max_byte_size, "CMS young collection pauses"), |
627 _plab_stats("Young", YoungPLABSize, PLABWeight), |
630 _plab_stats("Young", YoungPLABSize, PLABWeight), |
628 _overflow_list(NULL), |
631 _overflow_list(NULL), |
629 _is_alive_closure(this) |
632 _is_alive_closure(this) |
630 { |
633 { |
631 NOT_PRODUCT(_overflow_counter = ParGCWorkQueueOverflowInterval;) |
634 NOT_PRODUCT(_overflow_counter = ParGCWorkQueueOverflowInterval;) |