src/hotspot/share/gc/parallel/spaceCounters.cpp
changeset 58084 cddef3bde924
parent 48157 7c4d43c26352
equal deleted inserted replaced
58083:9046db64ca39 58084:cddef3bde924
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    64                                      _object_space->capacity_in_bytes(), CHECK);
    64                                      _object_space->capacity_in_bytes(), CHECK);
    65   }
    65   }
    66 }
    66 }
    67 
    67 
    68 SpaceCounters::~SpaceCounters() {
    68 SpaceCounters::~SpaceCounters() {
    69   if (_name_space != NULL) FREE_C_HEAP_ARRAY(char, _name_space);
    69   FREE_C_HEAP_ARRAY(char, _name_space);
    70 }
    70 }