Skip to content

Commit 877fd5a

Browse files
caspernorrbinTheShermanTanker
authored andcommittedAug 13, 2024
8337595: Remove empty statements in src/hotspot/share/memory/metaspace
Reviewed-by: stefank, dholmes, jwaters
1 parent 76e33b6 commit 877fd5a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/hotspot/share/memory/metaspace/metaspaceCommon.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void print_percentage(outputStream* st, size_t total, size_t part);
8585
SIZE_FORMAT_X " is not aligned to " \
8686
SIZE_FORMAT_X, (size_t)(uintptr_t)value, (size_t)(alignment))
8787
#define assert_is_aligned_metaspace_pointer(p) \
88-
assert_is_aligned((p), metaspace::AllocationAlignmentByteSize);
88+
assert_is_aligned((p), metaspace::AllocationAlignmentByteSize)
8989
#else
9090
#define assert_is_aligned(value, alignment)
9191
#define assert_is_aligned_metaspace_pointer(pointer)
@@ -141,8 +141,8 @@ void print_number_of_classes(outputStream* out, uintx classes, uintx classes_sha
141141
#define HAVE_UL
142142

143143
#ifdef HAVE_UL
144-
#define UL(level, message) log_##level(metaspace)(LOGFMT ": " message, LOGFMT_ARGS);
145-
#define UL2(level, message, ...) log_##level(metaspace)(LOGFMT ": " message, LOGFMT_ARGS, __VA_ARGS__);
144+
#define UL(level, message) log_##level(metaspace)(LOGFMT ": " message, LOGFMT_ARGS)
145+
#define UL2(level, message, ...) log_##level(metaspace)(LOGFMT ": " message, LOGFMT_ARGS, __VA_ARGS__)
146146
#else
147147
#define UL(level, ...)
148148
#define UL2(level, ...)

0 commit comments

Comments
 (0)
Please sign in to comment.