RFR: 8337563: NMT: rename MEMFLAGS to MemTag

Gerard Ziemski gziemski at openjdk.org
Mon Sep 9 17:16:06 UTC 2024


On Thu, 5 Sep 2024 16:10:05 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> Please review this cleanup, where we rename `MEMFLAGS` to `MemTag`.
> 
> `MEMFLAGS` implies that we can use more than one at the same time, but those are exclusive values, so `MemTag` is a more suitable name.
> 
> This fix also includes a cleanup of all the related parameter names and local variable names.
> 
> Testing is pending...
> 
> Note: there is more history in old closed PRs [https://github.com/openjdk/jdk/pull/20497](https://github.com/openjdk/jdk/pull/20497) and [https://github.com/openjdk/jdk/pull/20472](https://github.com/openjdk/jdk/pull/20472)

Thank you David, Kim for your feedback, as the very first reviewers your job was the hardest.

I implemented all your feedback. The template parameter rename I was planning on doing in a followup issue, however, if you really want, I can make the fix here too. It will increase the size of the changes, but I already accommodated Stefan request to include parameters and local variables, so we can go this one last step further if you like.

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

PR Comment: https://git.openjdk.org/jdk/pull/20872#issuecomment-2338647692


More information about the serviceability-dev mailing list