8275607: G1: G1CardSetAllocator::drop_all needs to call G1SegmentedArray::drop_all

Reviewed-by: tschatzl, ayang
This commit is contained in:
Hamlin Li 2021-10-21 01:16:10 +00:00
parent af7c56b85b
commit c7a80e60e2

View File

@ -114,6 +114,7 @@ void G1CardSetAllocator<Elem>::drop_all() {
_pending_nodes_list.pop_all();
_num_pending_nodes = 0;
_num_free_nodes = 0;
_segmented_array.drop_all();
}
template <class Elem>