RFR: JDK-8306507: [linux] Print number of memory mappings in error reports
Thomas Stuefe
stuefe at openjdk.org
Thu Apr 20 08:36:49 UTC 2023
The number of active mappings of a crashed JVM is interesting in case of an OOM, but counting mappings is cumbersome, especially when dealing with very large processes. /proc/pid/maps can have millions of lines.
Let's print out the number of active mappings when hs-err printing.
-------------
Commit messages:
- JDK-8306507-Print-number-of-memory-mappings-in-error-reports
Changes: https://git.openjdk.org/jdk/pull/13555/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13555&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306507
Stats: 23 lines in 1 file changed: 19 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/13555.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13555/head:pull/13555
PR: https://git.openjdk.org/jdk/pull/13555
More information about the hotspot-runtime-dev
mailing list