8210043: Invalid assert(HeapBaseMinAddress > 0) in ReservedHeapSpace::initialize_compressed_heap
authoriklam
Tue, 28 Aug 2018 16:01:01 -0700
changeset 51557 0369fe9ae26f
parent 51556 30a2c149fd7e
child 51558 a50648f7b1c8
8210043: Invalid assert(HeapBaseMinAddress > 0) in ReservedHeapSpace::initialize_compressed_heap Summary: Removed the assert Reviewed-by: ccheung, jiangli
src/hotspot/share/memory/virtualspace.cpp
--- 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,