comparison src/share/vm/utilities/globalDefinitions.hpp @ 2361:1216415d8e35

7014923: G1: code cleanup Summary: Some G1 code cleanup. Reviewed-by: johnc, jcoomes, jwilhelm
author tonyp
date Fri, 04 Mar 2011 17:13:19 -0500
parents b92c45f2bc75
children e863062e521d
comparison
equal deleted inserted replaced
2312:11303bede852 2361:1216415d8e35
1183 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp) 1183 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp)
1184 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or 1184 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or
1185 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll" 1185 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll"
1186 // (in ILP32). 1186 // (in ILP32).
1187 1187
1188 #define BOOL_TO_STR(__b) (__b) ? "true" : "false" 1188 #define BOOL_TO_STR(_b_) ((_b_) ? "true" : "false")
1189 1189
1190 // Format 32-bit quantities. 1190 // Format 32-bit quantities.
1191 #define INT32_FORMAT "%d" 1191 #define INT32_FORMAT "%d"
1192 #define UINT32_FORMAT "%u" 1192 #define UINT32_FORMAT "%u"
1193 #define INT32_FORMAT_W(width) "%" #width "d" 1193 #define INT32_FORMAT_W(width) "%" #width "d"