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

CDS regions get loaded with the wrong alignment

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: 14
    • 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

          Activity

            People

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

              Dates

              • Created:
                Updated: