comparison src/share/vm/utilities/globalDefinitions.hpp @ 1972:f95d63e2154a

6989984: Use standard include model for Hospot Summary: Replaced MakeDeps and the includeDB files with more standardized solutions. Reviewed-by: coleenp, kvn, kamg
author stefank
date Tue, 23 Nov 2010 13:22:55 -0800
parents a83b0246bb77
children 06f017f7daa7 0fa27f37d4d4
comparison
equal deleted inserted replaced
1971:e33f46fc48ed 1972:f95d63e2154a
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24 24
25 #ifndef SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
26 #define SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP
27
28 #ifdef TARGET_COMPILER_gcc
29 # include "utilities/globalDefinitions_gcc.hpp"
30 #endif
31 #ifdef TARGET_COMPILER_visCPP
32 # include "utilities/globalDefinitions_visCPP.hpp"
33 #endif
34 #ifdef TARGET_COMPILER_sparcWorks
35 # include "utilities/globalDefinitions_sparcWorks.hpp"
36 #endif
37
38 #include "utilities/macros.hpp"
39
25 // This file holds all globally used constants & types, class (forward) 40 // This file holds all globally used constants & types, class (forward)
26 // declarations and a few frequently used utility functions. 41 // declarations and a few frequently used utility functions.
27 42
28 //---------------------------------------------------------------------------------------------------- 43 //----------------------------------------------------------------------------------------------------
29 // Constants 44 // Constants
302 extern int LogMinObjAlignment; 317 extern int LogMinObjAlignment;
303 extern int LogMinObjAlignmentInBytes; 318 extern int LogMinObjAlignmentInBytes;
304 319
305 // Machine dependent stuff 320 // Machine dependent stuff
306 321
307 #include "incls/_globalDefinitions_pd.hpp.incl" 322 #ifdef TARGET_ARCH_x86
323 # include "globalDefinitions_x86.hpp"
324 #endif
325 #ifdef TARGET_ARCH_sparc
326 # include "globalDefinitions_sparc.hpp"
327 #endif
328 #ifdef TARGET_ARCH_zero
329 # include "globalDefinitions_zero.hpp"
330 #endif
331
308 332
309 // The byte alignment to be used by Arena::Amalloc. See bugid 4169348. 333 // The byte alignment to be used by Arena::Amalloc. See bugid 4169348.
310 // Note: this value must be a power of 2 334 // Note: this value must be a power of 2
311 335
312 #define ARENA_AMALLOC_ALIGNMENT (2*BytesPerWord) 336 #define ARENA_AMALLOC_ALIGNMENT (2*BytesPerWord)
1215 # define ENABLE_ZAP_DEAD_LOCALS 1239 # define ENABLE_ZAP_DEAD_LOCALS
1216 #endif /* COMPILER2 */ 1240 #endif /* COMPILER2 */
1217 # endif /* ASSERT */ 1241 # endif /* ASSERT */
1218 1242
1219 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0])) 1243 #define ARRAY_SIZE(array) (sizeof(array)/sizeof((array)[0]))
1244
1245 #endif // SHARE_VM_UTILITIES_GLOBALDEFINITIONS_HPP