RFR: 8337563: NMT: rename MEMFLAGS to MemFlag
Kim Barrett
kbarrett at openjdk.org
Fri Aug 30 09:56:20 UTC 2024
On Fri, 30 Aug 2024 07:18:47 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> [...] And the enum values would have to be in that namespace in any case, so we wont get around having to qualify all "mtXXX" flags NMT::mtXXX.
We already have to solve essentially that problem because its now a scoped enum. We currently define synonym
constants at global scope. (C++20 provides `using MEMFLAGS;`.) Otherwise, we'd currently be needing
MEMFLAGS::mtXXX.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20497#issuecomment-2320702002
More information about the shenandoah-dev
mailing list