8328932: Parallel: Proper partial object setup in fill_dense_prefix_end

Reviewed-by: tschatzl, gli
This commit is contained in:
Albert Mingkun Yang 2024-04-03 10:30:19 +00:00
parent d954f3bd0c
commit 80c54b484f

View File

@ -1147,6 +1147,7 @@ void PSParallelCompact::fill_dense_prefix_end(SpaceId id) {
_mark_bitmap.mark_obj(obj_beg, obj_len);
_summary_data.addr_to_region_ptr(obj_beg)->add_live_obj(1);
region_after_dense_prefix->set_partial_obj_size(1);
region_after_dense_prefix->set_partial_obj_addr(obj_beg);
assert(start_array(id) != nullptr, "sanity");
start_array(id)->update_for_block(obj_beg, obj_beg + obj_len);
}