RFR: 8344883: Do not use mtNone if we know the tag type [v7]

Gerard Ziemski gziemski at openjdk.org
Tue Apr 1 21:02:01 UTC 2025


On Tue, 1 Apr 2025 20:53:06 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

>> This is a follow-up to #21843. Here we are focusing on removing the mem tag paremeter with default value of mtNone, to force everyone to provide mem tag, if known.
>> 
>> I tried to fill in tag, when I was pretty certain that I had the right type.
>> 
>> At least one more follow-up will be needed after this, to change the remaining mtNone to valid values.
>
> Gerard Ziemski has updated the pull request incrementally with one additional commit since the last revision:
> 
>   remove default value parameter if it's false from os::reserve_memory

Filed  [Skip default value parameter if it's false from os::reserve_memory_special and os::attempt_reserve_memory_at()](https://bugs.openjdk.org/browse/JDK-8353477) to address the other APIs using false for the exec parameter with default value.

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

PR Comment: https://git.openjdk.org/jdk/pull/24282#issuecomment-2770670565


More information about the hotspot-dev mailing list