[APPCDS] JDK-8236847: JDK built on machine with 4K pages refused to start on machine with 64k pages
Dmitry Samersoff
dms at samersoff.net
Thu Jan 9 08:29:41 UTC 2020
Hello Ioi,
*Story*
If you build JDK-14 with the changes for
JDK-8231610 Relocate the CDS archive if it cannot be mapped
to the requested address
on a machine with 4k pages (typical Jenkins machine) then move the
bundle to a huge server with 64k pages, it refuses to start with
[0.015s][error][cds] Unable to map CDS archive --
os::vm_allocation_granularity() expected: 4096 actual: 65536
*Question*
I'm not sure if just removing an assert is the correct fix. What would
you recommend?
Also @build-dev - is it possible to add configure option to disable
AppCDS archive generation?
-Dmitry\S
More information about the build-dev
mailing list