RFR: 8371587: Final mapping lost in ProcSmapsParser::parse_next
Albert Mingkun Yang
ayang at openjdk.org
Mon Nov 10 21:25:19 UTC 2025
A simple fix for off-by-one error in parsing `smaps` -- the final mapping is never recorded as we exits the parsing loop too early.
Test: tier1
-------------
Commit messages:
- smap-parser
Changes: https://git.openjdk.org/jdk/pull/28225/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28225&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8371587
Stats: 12 lines in 1 file changed: 1 ins; 4 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/28225.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28225/head:pull/28225
PR: https://git.openjdk.org/jdk/pull/28225
More information about the hotspot-runtime-dev
mailing list