< prev index next >
src/hotspot/share/gc/parallel/psVirtualspace.cpp
8221260: Initialize more class members on construction, remove some unused ones
Reviewed-by:
/*
! * Copyright (c) 2003, 2015, 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) 2003, 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.
***************
set_committed(reserved_low_addr(), reserved_low_addr());
DEBUG_ONLY(verify());
}
// Deprecated.
! PSVirtualSpace::PSVirtualSpace(): _alignment(os::vm_page_size()) {
}
// Deprecated.
bool PSVirtualSpace::initialize(ReservedSpace rs,
size_t commit_size) {
set_committed(reserved_low_addr(), reserved_low_addr());
DEBUG_ONLY(verify());
}
// Deprecated.
! PSVirtualSpace::PSVirtualSpace():
! _alignment(os::vm_page_size()),
! _reserved_low_addr(NULL),
! _reserved_high_addr(NULL),
! _committed_low_addr(NULL),
! _committed_high_addr(NULL),
! _special(false) {
}
// Deprecated.
bool PSVirtualSpace::initialize(ReservedSpace rs,
size_t commit_size) {
< prev index next >