changeset 58084 | cddef3bde924 |
parent 57802 | 854e828d6b5b |
child 58508 | d6058bd73982 |
--- a/src/hotspot/share/gc/g1/g1CollectionSet.cpp Wed Sep 11 14:16:27 2019 +0200 +++ b/src/hotspot/share/gc/g1/g1CollectionSet.cpp Wed Sep 11 14:16:30 2019 +0200 @@ -72,9 +72,7 @@ } G1CollectionSet::~G1CollectionSet() { - if (_collection_set_regions != NULL) { - FREE_C_HEAP_ARRAY(uint, _collection_set_regions); - } + FREE_C_HEAP_ARRAY(uint, _collection_set_regions); free_optional_regions(); clear_candidates(); }