diff -r 9046db64ca39 -r cddef3bde924 src/hotspot/share/gc/cms/gSpaceCounters.cpp --- a/src/hotspot/share/gc/cms/gSpaceCounters.cpp Wed Sep 11 14:16:27 2019 +0200 +++ b/src/hotspot/share/gc/cms/gSpaceCounters.cpp Wed Sep 11 14:16:30 2019 +0200 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -74,5 +74,5 @@ } GSpaceCounters::~GSpaceCounters() { - if (_name_space != NULL) FREE_C_HEAP_ARRAY(char, _name_space); + FREE_C_HEAP_ARRAY(char, _name_space); }