Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236847

CDS archive with 4K alignment unusable on machines with 64k pages

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      generic
    • OS:
      linux

      Backports

        Description

        If you build JDK on a machime with 4k pages, and then move it to machine with 64k pages, java will not start (see below).

        The problem goes away if you rebuild CDS archive.

        *This bug has signisficant impact to development process.*

        Running a simple java -version results:

        ./jdk/bin/java -version

        [0.015s][error][cds] Unable to map CDS archive -- os::vm_allocation_granularity() expected: 4096 actual: 65536


        openjdk version "14-internal"

        OpenJDK Runtime Environment (build 14-internal+0-adhoc.jenkins.jdk-dev-nightly)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                minqi Yumin Qi
                Reporter:
                dsamersoff Dmitriy Samersoff
                Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: