RFR: 8298293: NMT: os::realloc() should verify that flags do not change between reallocations

Ioi Lam iklam at openjdk.org
Mon Feb 13 17:43:27 UTC 2023


On Fri, 3 Feb 2023 23:02:53 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> Please review this enhancement, which adds `assert` to make sure that we are not changing the NMT flags when calling `os::realloc()`
> 
> We also fix a bug, which the `assert` caught.
> 
> Passes Mach5 tier1,2,3,4,5

LGTM

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

Marked as reviewed by iklam (Reviewer).

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


More information about the hotspot-runtime-dev mailing list