hotspot/src/share/vm/utilities/globalDefinitions.hpp
changeset 8680 f1c414e16a4c
parent 8107 78e5bd944384
child 9103 535a93f494f6
equal deleted inserted replaced
8486:d5e06f580a49 8680:f1c414e16a4c
  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"