RFR: JDK-8306507: [linux] Print number of memory mappings in error reports [v3]

Thomas Stuefe stuefe at openjdk.org
Mon May 22 11:34:48 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.

Thomas Stuefe has updated the pull request incrementally with two additional commits since the last revision:

 - Merge branch 'JDK-8306507-Print-number-of-memory-mappings-in-error-reports' of github.com:tstuefe/jdk into JDK-8306507-Print-number-of-memory-mappings-in-error-reports
 - Severins feedback

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/13555/files
  - new: https://git.openjdk.org/jdk/pull/13555/files/c63ec814..283495dc

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13555&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13555&range=01-02

  Stats: 3 lines in 1 file changed: 2 ins; 1 del; 0 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