diff --git a/src/hotspot/share/gc/parallel/psVirtualspace.hpp b/src/hotspot/share/gc/parallel/psVirtualspace.hpp index aa38a271aff..8fe6a03af53 100644 --- a/src/hotspot/share/gc/parallel/psVirtualspace.hpp +++ b/src/hotspot/share/gc/parallel/psVirtualspace.hpp @@ -64,7 +64,14 @@ class PSVirtualSpace : public CHeapObj { // 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) { } + 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(); bool initialize(ReservedSpace rs, size_t commit_size);