When out of large pages, GCs allocate small pages with large page alignment

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • 23
    • Affects Version/s: 17
    • Component/s: hotspot
    • gc

      Consider this case:

      Required Heap size : 2GB
      Explicit 1GB large page reserved in hugetlbfs : 2 (2GB)
      Explicit 2MB large page reserved in hugetlbfs : 0

      In this case heap is allocated two 1GB pages and all other allocations from 4KB pages but their page alignment is 2M which can result into fragmentation issues.

      See the attachment in JDK-8271195 for example output.

            Assignee:
            Unassigned
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: