RFR: 8354115: NMT: VMATree should not accept `uncommit` a `released` region [v5]

Afshin Zafari azafari at openjdk.org
Wed Apr 23 14:25:07 UTC 2025


> At `uncommit` we change the state of the regions to `Reserved`. This is not acceptable to uncommit a  `Released` region and change its state to `Reserved`.
> This case is detected and an invalid `SummaryDiff` (all its contents are -1) is returned. 
> 
> Two test-cases added and run.

Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision:

  debug prints to trace the test-case executions

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24572/files
  - new: https://git.openjdk.org/jdk/pull/24572/files/f25d405e..ffc0ca43

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24572&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24572&range=03-04

  Stats: 136 lines in 3 files changed: 80 ins; 15 del; 41 mod
  Patch: https://git.openjdk.org/jdk/pull/24572.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24572/head:pull/24572

PR: https://git.openjdk.org/jdk/pull/24572


More information about the hotspot-runtime-dev mailing list