src/share/vm/utilities/globalDefinitions.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8042885 Sdiff src/share/vm/utilities

src/share/vm/utilities/globalDefinitions.hpp

Print this page
8042885: java does not take hexadecimal number as vm option


1329 #define UINT32_FORMAT_W(width) "%" #width PRIu32
1330 
1331 #define PTR32_FORMAT           "0x%08" PRIx32
1332 
1333 // Format 64-bit quantities.
1334 #define INT64_FORMAT           "%" PRId64
1335 #define UINT64_FORMAT          "%" PRIu64
1336 #define UINT64_FORMAT_X        "%" PRIx64
1337 #define INT64_FORMAT_W(width)  "%" #width PRId64
1338 #define UINT64_FORMAT_W(width) "%" #width PRIu64
1339 
1340 #define PTR64_FORMAT           "0x%016" PRIx64
1341 
1342 // Format jlong, if necessary
1343 #ifndef JLONG_FORMAT
1344 #define JLONG_FORMAT           INT64_FORMAT
1345 #endif
1346 #ifndef JULONG_FORMAT
1347 #define JULONG_FORMAT          UINT64_FORMAT
1348 #endif



1349 
1350 // Format pointers which change size between 32- and 64-bit.
1351 #ifdef  _LP64
1352 #define INTPTR_FORMAT "0x%016" PRIxPTR
1353 #define PTR_FORMAT    "0x%016" PRIxPTR
1354 #else   // !_LP64
1355 #define INTPTR_FORMAT "0x%08"  PRIxPTR
1356 #define PTR_FORMAT    "0x%08"  PRIxPTR
1357 #endif  // _LP64
1358 
1359 #define INTPTR_FORMAT_W(width)   "%" #width PRIxPTR
1360 
1361 #define SSIZE_FORMAT             "%"   PRIdPTR
1362 #define SIZE_FORMAT              "%"   PRIuPTR
1363 #define SIZE_FORMAT_HEX          "0x%" PRIxPTR
1364 #define SSIZE_FORMAT_W(width)    "%"   #width PRIdPTR
1365 #define SIZE_FORMAT_W(width)     "%"   #width PRIuPTR
1366 #define SIZE_FORMAT_HEX_W(width) "0x%" #width PRIxPTR
1367 
1368 #define INTX_FORMAT           "%" PRIdPTR




1329 #define UINT32_FORMAT_W(width) "%" #width PRIu32
1330 
1331 #define PTR32_FORMAT           "0x%08" PRIx32
1332 
1333 // Format 64-bit quantities.
1334 #define INT64_FORMAT           "%" PRId64
1335 #define UINT64_FORMAT          "%" PRIu64
1336 #define UINT64_FORMAT_X        "%" PRIx64
1337 #define INT64_FORMAT_W(width)  "%" #width PRId64
1338 #define UINT64_FORMAT_W(width) "%" #width PRIu64
1339 
1340 #define PTR64_FORMAT           "0x%016" PRIx64
1341 
1342 // Format jlong, if necessary
1343 #ifndef JLONG_FORMAT
1344 #define JLONG_FORMAT           INT64_FORMAT
1345 #endif
1346 #ifndef JULONG_FORMAT
1347 #define JULONG_FORMAT          UINT64_FORMAT
1348 #endif
1349 #ifndef JULONG_FORMAT_X
1350 #define JULONG_FORMAT_X        UINT64_FORMAT_X
1351 #endif
1352 
1353 // Format pointers which change size between 32- and 64-bit.
1354 #ifdef  _LP64
1355 #define INTPTR_FORMAT "0x%016" PRIxPTR
1356 #define PTR_FORMAT    "0x%016" PRIxPTR
1357 #else   // !_LP64
1358 #define INTPTR_FORMAT "0x%08"  PRIxPTR
1359 #define PTR_FORMAT    "0x%08"  PRIxPTR
1360 #endif  // _LP64
1361 
1362 #define INTPTR_FORMAT_W(width)   "%" #width PRIxPTR
1363 
1364 #define SSIZE_FORMAT             "%"   PRIdPTR
1365 #define SIZE_FORMAT              "%"   PRIuPTR
1366 #define SIZE_FORMAT_HEX          "0x%" PRIxPTR
1367 #define SSIZE_FORMAT_W(width)    "%"   #width PRIdPTR
1368 #define SIZE_FORMAT_W(width)     "%"   #width PRIuPTR
1369 #define SIZE_FORMAT_HEX_W(width) "0x%" #width PRIxPTR
1370 
1371 #define INTX_FORMAT           "%" PRIdPTR


src/share/vm/utilities/globalDefinitions.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File