diff -r 9046db64ca39 -r cddef3bde924 src/hotspot/share/utilities/hashtable.cpp --- a/src/hotspot/share/utilities/hashtable.cpp Wed Sep 11 14:16:27 2019 +0200 +++ b/src/hotspot/share/utilities/hashtable.cpp Wed Sep 11 14:16:30 2019 +0200 @@ -101,10 +101,8 @@ } template void BasicHashtable::free_buckets() { - if (NULL != _buckets) { - FREE_C_HEAP_ARRAY(HashtableBucket, _buckets); - _buckets = NULL; - } + FREE_C_HEAP_ARRAY(HashtableBucket, _buckets); + _buckets = NULL; } // For oops and Strings the size of the literal is interesting. For other types, nobody cares.