RFR: JDK-8298285: NMT: Simplify reporter coding

Thomas Stuefe stuefe at openjdk.org
Wed Dec 7 18:01:02 UTC 2022


Using some convenience macros, we can make the very repetitive coding in NMT reporting easier on the eye and less error-prone. We have used a similar technique in metaspace and for the "proper_xxx" printing routines already.

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

Commit messages:
 - JDK-8298285-NMT-Simplify-reporter-coding

Changes: https://git.openjdk.org/jdk/pull/11564/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11564&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8298285
  Stats: 56 lines in 1 file changed: 5 ins; 7 del; 44 mod
  Patch: https://git.openjdk.org/jdk/pull/11564.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11564/head:pull/11564

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


More information about the hotspot-runtime-dev mailing list