RFR: 8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Stefan Karlsson
stefank at openjdk.org
Mon Aug 12 19:54:30 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.
Marked as reviewed by stefank (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/20552#pullrequestreview-2233895975
More information about the hotspot-runtime-dev
mailing list