8210043: Invalid assert(HeapBaseMinAddress > 0) in ReservedHeapSpace::initialize_compressed_heap
Summary: Removed the assert
Reviewed-by: ccheung, jiangli
--- a/src/hotspot/share/memory/virtualspace.cpp Tue Aug 28 16:18:58 2018 -0700
+++ b/src/hotspot/share/memory/virtualspace.cpp Tue Aug 28 16:01:01 2018 -0700
@@ -490,7 +490,6 @@
guarantee(size + noaccess_prefix_size(alignment) <= OopEncodingHeapMax,
"can not allocate compressed oop heap for this size");
guarantee(alignment == MAX2(alignment, (size_t)os::vm_page_size()), "alignment too small");
- assert(HeapBaseMinAddress > 0, "sanity");
const size_t granularity = os::vm_allocation_granularity();
assert((size & (granularity - 1)) == 0,