< prev index next > src/hotspot/share/gc/shared/hSpaceCounters.cpp
Print this page
/*
! * Copyright (c) 2011, 2017, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2011, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
initial_capacity, CHECK);
}
}
HSpaceCounters::~HSpaceCounters() {
! if (_name_space != NULL) {
- FREE_C_HEAP_ARRAY(char, _name_space);
- }
}
void HSpaceCounters::update_capacity(size_t v) {
_capacity->set_value(v);
}
initial_capacity, CHECK);
}
}
HSpaceCounters::~HSpaceCounters() {
! FREE_C_HEAP_ARRAY(char, _name_space);
}
void HSpaceCounters::update_capacity(size_t v) {
_capacity->set_value(v);
}
< prev index next >