6806 true /* do_expand */); |
6806 true /* do_expand */); |
6807 if (new_alloc_region != NULL) { |
6807 if (new_alloc_region != NULL) { |
6808 // We really only need to do this for old regions given that we |
6808 // We really only need to do this for old regions given that we |
6809 // should never scan survivors. But it doesn't hurt to do it |
6809 // should never scan survivors. But it doesn't hurt to do it |
6810 // for survivors too. |
6810 // for survivors too. |
6811 new_alloc_region->record_top_and_timestamp(); |
6811 new_alloc_region->record_timestamp(); |
6812 if (survivor) { |
6812 if (survivor) { |
6813 new_alloc_region->set_survivor(); |
6813 new_alloc_region->set_survivor(); |
6814 _hr_printer.alloc(new_alloc_region, G1HRPrinter::Survivor); |
6814 _hr_printer.alloc(new_alloc_region, G1HRPrinter::Survivor); |
6815 check_bitmaps("Survivor Region Allocation", new_alloc_region); |
6815 check_bitmaps("Survivor Region Allocation", new_alloc_region); |
6816 } else { |
6816 } else { |