RFR: 8337595: Remove empty statements in src/hotspot/share/memory/metaspace
duke
duke at openjdk.org
Tue Aug 13 13:33:51 UTC 2024
On Mon, 12 Aug 2024 15:03:55 GMT, Casper Norrbin <duke at openjdk.org> wrote:
> 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.
@caspernorrbin
Your change (at version 79c782c7022c1f3b1f609905c6e626aef6f480d3) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20552#issuecomment-2286262777
More information about the hotspot-runtime-dev
mailing list