Integrated: 8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Casper Norrbin
duke at openjdk.org
Tue Aug 13 14:45:59 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.
This pull request has now been integrated.
Changeset: 877fd5a7
Author: Casper Norrbin <casper.norrbin at oracle.com>
Committer: Julian Waters <jwaters at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/877fd5a768647790d0a43aaca247043bae70d708
Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Reviewed-by: stefank, dholmes, jwaters
-------------
PR: https://git.openjdk.org/jdk/pull/20552
More information about the hotspot-runtime-dev
mailing list