-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 23
-
Component/s: hotspot
The `log_on_large_pages_failure` function logs failures of large pages allocations. It reports to `log_debug(gc, heap, coops) `:
// Compressed oops logging.
log_debug(gc, heap, coops)("Reserve regular memory without large pages");
Memory allocated for CodeCache is not regular because it is executable. Failures of allocating it should be reported to `log_debug(codecache)` instead of `log_debug(gc, heap, coops)`.
`CodeHeap::reserve` has a regular memory reservation for _segmap which if it fails, it is reported to `log_debug(gc, heap, coops)`. Maybe it should be reported to `log_debug(codecache)` as well.
// Compressed oops logging.
log_debug(gc, heap, coops)("Reserve regular memory without large pages");
Memory allocated for CodeCache is not regular because it is executable. Failures of allocating it should be reported to `log_debug(codecache)` instead of `log_debug(gc, heap, coops)`.
`CodeHeap::reserve` has a regular memory reservation for _segmap which if it fails, it is reported to `log_debug(gc, heap, coops)`. Maybe it should be reported to `log_debug(codecache)` as well.
- links to
-
Review(master)
openjdk/jdk/23297