8309852: G1: Remove unnecessary assert_empty in G1ParScanThreadStateSet destructor

Reviewed-by: tschatzl
This commit is contained in:
Albert Mingkun Yang 2023-06-13 07:54:13 +00:00
parent 23a54f3701
commit 5d716121c1

@ -712,6 +712,5 @@ G1ParScanThreadStateSet::~G1ParScanThreadStateSet() {
assert(_flushed, "thread local state from the per thread states should have been flushed");
FREE_C_HEAP_ARRAY(G1ParScanThreadState*, _states);
FREE_C_HEAP_ARRAY(size_t, _surviving_young_words_total);
_preserved_marks_set.assert_empty();
_preserved_marks_set.reclaim();
}