< prev index next >

src/hotspot/share/gc/g1/g1CollectedHeap.cpp

Print this page
rev 56811 : [mq]: 8189737-heapregion-remove-space-inheritance

*** 662,673 **** } else { top = last_address + 1; next_region = NULL; } curr_region->set_top(top); - curr_region->set_first_dead(top); - curr_region->set_end_of_live(top); curr_region = next_region; } // Notify mark-sweep of the archive G1ArchiveAllocator::set_range_archive(curr_range, open); --- 662,671 ----
*** 3976,3986 **** size_t words_survived = _surviving_young_words[r->young_index_in_cset()]; r->record_surv_words_in_group(words_survived); } if (!r->evacuation_failed()) { ! assert(r->not_empty(), "Region %u is an empty region in the collection set.", r->hrm_index()); _before_used_bytes += r->used(); g1h->free_region(r, &_local_free_list, true, /* skip_remset */ true, /* skip_hot_card_cache */ --- 3974,3984 ---- size_t words_survived = _surviving_young_words[r->young_index_in_cset()]; r->record_surv_words_in_group(words_survived); } if (!r->evacuation_failed()) { ! assert(!r->is_empty(), "Region %u is an empty region in the collection set.", r->hrm_index()); _before_used_bytes += r->used(); g1h->free_region(r, &_local_free_list, true, /* skip_remset */ true, /* skip_hot_card_cache */
< prev index next >