-
Bug
-
Resolution: Won't Fix
-
P4
-
17
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 inJDK-8271195 for example output.
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
- relates to
-
JDK-8271195 Use largest available large page size smaller than LargePageSizeInBytes when available
- Resolved