RFR: 8371587: Final mapping lost in ProcSmapsParser::parse_next [v3]
Albert Mingkun Yang
ayang at openjdk.org
Mon Dec 1 14:35:42 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.
>
> The spec of `parse_next` is updated to reflects what its caller expects. The newly added gtest fails without this path.
>
>
> Test: tier1
Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
- Merge branch 'master' into smap-parser
- review
- copyright-header
- review
- Merge branch 'master' into smap-parser
- smap-parser
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28225/files
- new: https://git.openjdk.org/jdk/pull/28225/files/c179ccd5..cfe12245
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28225&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28225&range=01-02
Stats: 22816 lines in 521 files changed: 12611 ins; 7329 del; 2876 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