Details
-
Bug
-
Resolution: Fixed
-
P3
-
11, 17, 21
-
b09
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313958 | 21.0.1 | Tobias Hartmann | P3 | Resolved | Fixed | b08 |
JDK-8314995 | 17.0.10-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8316365 | 17.0.10 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
Description
$ java -XX:+UseLargePages -XX:+SegmentedCodeCache -XX:InitialCodeCacheSize=2g -XX:ReservedCodeCacheSize=2g -XX:LargePageSizeInBytes=1g -Xlog:pagesize*=debug -version
[0.000s][debug][pagesize] Large Page sizes: 2M, 1G
[0.000s][info ][pagesize] Overriding default large page size (2M) using LargePageSizeInBytes: 1G
[0.001s][info ][pagesize] Usable page sizes: 4k, 2M, 1G
[0.003s][debug][pagesize] Commit special mapping: 0x00007fefc0000000, size=2G, page size=1G
[0.003s][info ][pagesize] CodeHeap 'non-nmethods': min=1G max=6M base=0x00007fefffc00000 page_size=1G size=6M
Error occurred during initialization of VM
Could not reserve enough space in CodeHeap 'non-nmethods' (6144K)
We should not exit them VM but fall back to a smaller page size for the failing segment.
Thanks to Scott Oaks for reporting.
Attachments
Issue Links
- backported by
-
JDK-8313958 SegmentedCodeCache fails when using large pages
- Resolved
-
JDK-8314995 SegmentedCodeCache fails when using large pages
- Resolved
-
JDK-8316365 SegmentedCodeCache fails when using large pages
- Resolved
- relates to
-
JDK-8317831 compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/bc7699a3
-
Commit openjdk/jdk21u/515387d7
-
Commit openjdk/jdk/cad6114e
-
Review openjdk/jdk17u-dev/1734
-
Review openjdk/jdk21u/41
-
Review openjdk/jdk/14903