RFR: 8263464: NMT: assert in gtest os.release_multi_mappings_vm [v7]

Gerard Ziemski gziemski at openjdk.org
Thu May 25 14:55:08 UTC 2023


On Tue, 23 May 2023 09:57:37 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Easier example:
>> 
>> 
>> - = reserved
>> C = committed
>> D = to be deleted
>> [---------------]
>>   [CCCCCCCCC]
>>      [DDD]
>> Are the results:
>> [----]   [-------]
>>   [CC]   [CC]
>> Where the left C is part of the left - and the right C is part of the right -
>> Because it looks like the results might be:
>> [----]   [-------]
>>   [CCCCCCCCC]
>> where the left - owns the committed region
>
> It looks like the tests only check the results of reserved regions.

If that's really the case, then that would be a bug in existing code, that I did not modify.

I will file a followup issue tomorrow, unless you would like to do it yourself.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13813#discussion_r1205638481


More information about the hotspot-runtime-dev mailing list