Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions.hpp @ 17812:a7d4d4655766
Merge
author | kvn |
---|---|
date | Wed, 26 Mar 2014 18:21:05 -0700 |
parents | 62c54fcc0a35 |
children | 7384f6a12fc1 |
comparison
equal
deleted
inserted
replaced
17789:6b207d038106 | 17812:a7d4d4655766 |
---|---|
36 # include "utilities/globalDefinitions_visCPP.hpp" | 36 # include "utilities/globalDefinitions_visCPP.hpp" |
37 #endif | 37 #endif |
38 #ifdef TARGET_COMPILER_sparcWorks | 38 #ifdef TARGET_COMPILER_sparcWorks |
39 # include "utilities/globalDefinitions_sparcWorks.hpp" | 39 # include "utilities/globalDefinitions_sparcWorks.hpp" |
40 #endif | 40 #endif |
41 #ifdef TARGET_COMPILER_xlc | |
42 # include "utilities/globalDefinitions_xlc.hpp" | |
43 #endif | |
41 | 44 |
42 #include "utilities/macros.hpp" | 45 #include "utilities/macros.hpp" |
43 | 46 |
44 // This file holds all globally used constants & types, class (forward) | 47 // This file holds all globally used constants & types, class (forward) |
45 // declarations and a few frequently used utility functions. | 48 // declarations and a few frequently used utility functions. |
406 * the platform specific globalDefinitions (above) | 409 * the platform specific globalDefinitions (above) |
407 * can set PLATFORM_NATIVE_STACK_WALKING_SUPPORTED to 0 | 410 * can set PLATFORM_NATIVE_STACK_WALKING_SUPPORTED to 0 |
408 */ | 411 */ |
409 #ifndef PLATFORM_NATIVE_STACK_WALKING_SUPPORTED | 412 #ifndef PLATFORM_NATIVE_STACK_WALKING_SUPPORTED |
410 #define PLATFORM_NATIVE_STACK_WALKING_SUPPORTED 1 | 413 #define PLATFORM_NATIVE_STACK_WALKING_SUPPORTED 1 |
414 #endif | |
415 | |
416 // To assure the IRIW property on processors that are not multiple copy | |
417 // atomic, sync instructions must be issued between volatile reads to | |
418 // assure their ordering, instead of after volatile stores. | |
419 // (See "A Tutorial Introduction to the ARM and POWER Relaxed Memory Models" | |
420 // by Luc Maranget, Susmit Sarkar and Peter Sewell, INRIA/Cambridge) | |
421 #ifdef CPU_NOT_MULTIPLE_COPY_ATOMIC | |
422 const bool support_IRIW_for_not_multiple_copy_atomic_cpu = true; | |
423 #else | |
424 const bool support_IRIW_for_not_multiple_copy_atomic_cpu = false; | |
411 #endif | 425 #endif |
412 | 426 |
413 // The byte alignment to be used by Arena::Amalloc. See bugid 4169348. | 427 // The byte alignment to be used by Arena::Amalloc. See bugid 4169348. |
414 // Note: this value must be a power of 2 | 428 // Note: this value must be a power of 2 |
415 | 429 |