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

Gerard Ziemski gziemski at openjdk.org
Mon Feb 13 18:17:38 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

This pull request has now been integrated.

Changeset: c37e9d1c
Author:    Gerard Ziemski <gziemski at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c37e9d1c8de3d7401422a08342473f803650c4e2
Stats:     8 lines in 3 files changed: 2 ins; 0 del; 6 mod

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

Reviewed-by: dholmes, stuefe, iklam

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

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


More information about the hotspot-runtime-dev mailing list