hg: jdk8u/hs-dev/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
Wed Oct 29 19:59:10 UTC 2014
Changeset: 678a467a733b
Author: minqi
Date: 2014-05-27 08:44 -0700
URL: http://hg.openjdk.java.net/jdk8u/hs-dev/hotspot/rev/678a467a733b
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 jdk8u-hs-changes
mailing list