-
Bug
-
Resolution: Fixed
-
P3
-
7u40
-
b07
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8040942 | 7u80 | Andreas Eriksson | P3 | Resolved | Fixed | b01 |
JDK-8031836 | 7u60 | Andreas Eriksson | P3 | Resolved | Fixed | b03 |
JDK-8027758 | 7u55 | Andreas Eriksson | P3 | Closed | Fixed | b01 |
There is a known issue in JDK7, JDK-8024218, that may cause crashes if a system running with large pages fails to allocate the large pages and has to fall back to using standard pages. The issue will be fixed in 7u60, but we need to make it easier to debug until then. We should:
1) Fix the error message when failing to allocate large pages. Right now it is:
os::commit_memory(0x00000006b1600000, 352321536, 2097152, 0) failed;
error='Cannot allocate memory' (errno=12)
It should be something along the lines of
os::commit_memory(0x00000006b1600000, 352321536, 2097152, 0) failed;
error='Cannot allocate large pages, falling back to small pages' (errno=12)
Not sure if small pages is a thing
2) We should add a counter of how many times this has happened, and print it in the hs_err file. This will make it easier for Support and Sustaining to see if a crash may be related to this issue
3) We should document this as a known issue
1) Fix the error message when failing to allocate large pages. Right now it is:
os::commit_memory(0x00000006b1600000, 352321536, 2097152, 0) failed;
error='Cannot allocate memory' (errno=12)
It should be something along the lines of
os::commit_memory(0x00000006b1600000, 352321536, 2097152, 0) failed;
error='Cannot allocate large pages, falling back to small pages' (errno=12)
Not sure if small pages is a thing
2) We should add a counter of how many times this has happened, and print it in the hs_err file. This will make it easier for Support and Sustaining to see if a crash may be related to this issue
3) We should document this as a known issue
- backported by
-
JDK-8031836 Make issues due to failed large pages allocations easier to debug
- Resolved
-
JDK-8040942 Make issues due to failed large pages allocations easier to debug
- Resolved
-
JDK-8027758 Make issues due to failed large pages allocations easier to debug
- Closed
- relates to
-
JDK-8031787 Remove fix JDK-8026887 from 7u60
- Closed