CDS regions get loaded with the wrong alignment

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: