RFR: 8263464: NMT: assert in gtest os.release_multi_mappings_vm [v6]
Gerard Ziemski
gziemski at openjdk.org
Wed May 17 18:00:18 UTC 2023
> This fix allows NMT to account for released memory that was allocated in chunks, as long as the final pointer and size refer to total contiguous regions of the requested size.
>
> The main idea here is to iterate over the "synthetic" region that was given to us and split it up into the underlaying existing regions, and then recursively handle them one at a time as we normally do.
>
> Tested via `Mach5 tier1,tier2,tier3` and locally via `gtest:NMT*:os*`
Gerard Ziemski has updated the pull request incrementally with one additional commit since the last revision:
use size_t instead long
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13813/files
- new: https://git.openjdk.org/jdk/pull/13813/files/9c346e40..381bf693
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13813&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13813&range=04-05
Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/13813.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13813/head:pull/13813
PR: https://git.openjdk.org/jdk/pull/13813
More information about the hotspot-runtime-dev
mailing list