8279060: Parallel: Remove unused PSVirtualSpace constructors
Reviewed-by: mli, sjohanss, tschatzl
This commit is contained in:
parent
6aeb40cf2a
commit
997b1eea6e
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user