--- a/src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp Tue May 29 10:53:55 2018 +0200
+++ b/src/hotspot/share/memory/metaspace/virtualSpaceNode.cpp Tue May 29 12:52:08 2018 +0200
@@ -521,16 +521,6 @@
"Checking that the pre-committed memory was registered by the VirtualSpace");
set_top((MetaWord*)virtual_space()->low());
- set_reserved(MemRegion((HeapWord*)_rs.base(),
- (HeapWord*)(_rs.base() + _rs.size())));
-
- assert(reserved()->start() == (HeapWord*) _rs.base(),
- "Reserved start was not set properly " PTR_FORMAT
- " != " PTR_FORMAT, p2i(reserved()->start()), p2i(_rs.base()));
- assert(reserved()->word_size() == _rs.size() / BytesPerWord,
- "Reserved size was not set properly " SIZE_FORMAT
- " != " SIZE_FORMAT, reserved()->word_size(),
- _rs.size() / BytesPerWord);
}
// Initialize Occupancy Map.