8279060: Parallel: Remove unused PSVirtualSpace constructors

Reviewed-by: mli, sjohanss, tschatzl
This commit is contained in:
Albert Mingkun Yang 2021-12-21 20:50:46 +00:00
parent 6aeb40cf2a
commit 997b1eea6e
2 changed files with 0 additions and 20 deletions
src/hotspot/share/gc/parallel

@ -37,14 +37,6 @@ PSVirtualSpace::PSVirtualSpace(ReservedSpace rs, size_t alignment) :
DEBUG_ONLY(verify());
}
PSVirtualSpace::PSVirtualSpace(ReservedSpace rs) :
_alignment(os::vm_page_size())
{
set_reserved(rs);
set_committed(reserved_low_addr(), reserved_low_addr());
DEBUG_ONLY(verify());
}
// Deprecated.
PSVirtualSpace::PSVirtualSpace():
_alignment(os::vm_page_size()),

@ -57,21 +57,9 @@ class PSVirtualSpace : public CHeapObj<mtGC> {
public:
PSVirtualSpace(ReservedSpace rs, size_t alignment);
PSVirtualSpace(ReservedSpace rs);
~PSVirtualSpace();
// Eventually all instances should be created with the above 1- or 2-arg
// constructors. Then the 1st constructor below should become protected and
// the 2nd ctor and initialize() removed.
PSVirtualSpace(size_t alignment):
_alignment(alignment),
_reserved_low_addr(NULL),
_reserved_high_addr(NULL),
_committed_low_addr(NULL),
_committed_high_addr(NULL),
_special(false) {
}
PSVirtualSpace();
void initialize(ReservedSpace rs);