RFR: 8337595: Remove empty statements in src/hotspot/share/memory/metaspace

Casper Norrbin duke at openjdk.org
Tue Aug 13 13:33:50 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.

Thank you both for the reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/20552#issuecomment-2286260229


More information about the hotspot-runtime-dev mailing list