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

Afshin Zafari azafari at openjdk.org
Mon May 12 11:25:58 UTC 2025


On Wed, 23 Apr 2025 14:25:07 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

>> 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

This change will be covered more efficiently in [here](https://bugs.openjdk.org/browse/JDK-8351661).

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

PR Comment: https://git.openjdk.org/jdk/pull/24572#issuecomment-2872149288


More information about the hotspot-runtime-dev mailing list