RFR: 8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Casper Norrbin
duke at openjdk.org
Mon Aug 12 15:08:45 UTC 2024
Hi everyone,
Some of the macro definitions in `metaspaceCommon.hpp` include semicolons, resulting in empty statements being inserted when invoked. This behavior is unclear and could potentially lead to bugs.
This PR removes the semicolons from these macros, aligning them with other metaspace macros.
-------------
Commit messages:
- removed semicolons from macro definitions
Changes: https://git.openjdk.org/jdk/pull/20552/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20552&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8337595
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/20552.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20552/head:pull/20552
PR: https://git.openjdk.org/jdk/pull/20552
More information about the hotspot-runtime-dev
mailing list