hg: jdk9/hs-rt/hotspot: 8038422: CDS test failed: assert((size % os::vm_allocation_granularity()) == 0) failed when limiting SharedMiscDataSize

yumin.qi at oracle.com yumin.qi at oracle.com
Tue May 27 17:12:41 UTC 2014


Changeset: 385699caea74
Author:    minqi
Date:      2014-05-27 08:44 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-rt/hotspot/rev/385699caea74

8038422: CDS test failed: assert((size % os::vm_allocation_granularity()) == 0) failed when limiting SharedMiscDataSize
Summary: In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same. In debug version, the assert is against os::vm_allocation_granularity(), but in initialization, we use os::vm_page_size() to align the allocation size. In windows, _vm_page_size and _vm_allocation_granularity may not be same.
Reviewed-by: dholmes, iklam, jiangli, coleenp
Contributed-by: yumin.qi at oracle.com

! src/share/vm/memory/metaspace.cpp



More information about the jdk9-all-changes mailing list