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

CDS regions get loaded with the wrong alignment

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 14, 15
    • Fix Version/s: 15
    • Component/s: hotspot

      Description

      CDS regions require metaspace alignment; however, they are loaded with hardcoded allocation granularity (see filemap.cpp:1369ff).

      Since metaspace alignment is usually allocation granularity, this is only a problem if one modifies metaspace and changes the alignment. In that case, cds asserts at loading time.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stuefe Thomas Stuefe
              Reporter:
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: