comparison src/share/vm/utilities/globalDefinitions.hpp @ 7643:3ac7d10a6572

Merge with hsx25/hotspot.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 31 Jan 2013 15:42:25 +0100
parents 291ffc492eb6 203f64878aab
children 89e4d67fdd2a
comparison
equal deleted inserted replaced
7573:17b6a63fe7c2 7643:3ac7d10a6572
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
1248 #define INT64_FORMAT_W(width) "%" #width PRId64 1248 #define INT64_FORMAT_W(width) "%" #width PRId64
1249 #define UINT64_FORMAT_W(width) "%" #width PRIu64 1249 #define UINT64_FORMAT_W(width) "%" #width PRIu64
1250 1250
1251 #define PTR64_FORMAT "0x%016" PRIx64 1251 #define PTR64_FORMAT "0x%016" PRIx64
1252 1252
1253 // Format jlong, if necessary
1254 #ifndef JLONG_FORMAT
1255 #define JLONG_FORMAT INT64_FORMAT
1256 #endif
1257 #ifndef JULONG_FORMAT
1258 #define JULONG_FORMAT UINT64_FORMAT
1259 #endif
1260
1253 // Format pointers which change size between 32- and 64-bit. 1261 // Format pointers which change size between 32- and 64-bit.
1254 #ifdef _LP64 1262 #ifdef _LP64
1255 #define INTPTR_FORMAT "0x%016" PRIxPTR 1263 #define INTPTR_FORMAT "0x%016" PRIxPTR
1256 #define PTR_FORMAT "0x%016" PRIxPTR 1264 #define PTR_FORMAT "0x%016" PRIxPTR
1257 #else // !_LP64 1265 #else // !_LP64