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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 23
    • 17
    • 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.

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

              Created:
              Updated:
              Resolved: