8183544: Missing parentheses in is_size_aligned_ macro
Reviewed-by: mgerdin, tschatzl
--- a/hotspot/src/share/vm/utilities/globalDefinitions.hpp Thu Apr 13 09:57:51 2017 +0200
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.hpp Tue Jul 04 17:44:30 2017 +0200
@@ -518,7 +518,7 @@
#define align_up_(size, alignment) (align_down_((size) + align_mask(alignment), (alignment)))
-#define is_aligned_(size, alignment) ((size) == (align_up_(size, alignment)))
+#define is_aligned_(size, alignment) ((size) == (align_up_((size), (alignment))))
// Temporary declaration until this file has been restructured.
template <typename T>