< prev index next >

src/share/vm/utilities/globalDefinitions.hpp

Print this page




 410 // Klass encoding metaspace max size
 411 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes;
 412 
 413 // Machine dependent stuff
 414 
 415 #if defined(X86) && defined(COMPILER2) && !defined(JAVASE_EMBEDDED)
 416 // Include Restricted Transactional Memory lock eliding optimization
 417 #define INCLUDE_RTM_OPT 1
 418 #define RTM_OPT_ONLY(code) code
 419 #else
 420 #define INCLUDE_RTM_OPT 0
 421 #define RTM_OPT_ONLY(code)
 422 #endif
 423 // States of Restricted Transactional Memory usage.
 424 enum RTMState {
 425   NoRTM      = 0x2, // Don't use RTM
 426   UseRTM     = 0x1, // Use RTM
 427   ProfileRTM = 0x0  // Use RTM with abort ratio calculation
 428 };
 429 





 430 #ifdef TARGET_ARCH_x86
 431 # include "globalDefinitions_x86.hpp"



 432 #endif
 433 #ifdef TARGET_ARCH_sparc
 434 # include "globalDefinitions_sparc.hpp"
 435 #endif
 436 #ifdef TARGET_ARCH_zero
 437 # include "globalDefinitions_zero.hpp"
 438 #endif
 439 #ifdef TARGET_ARCH_arm
 440 # include "globalDefinitions_arm.hpp"
 441 #endif
 442 #ifdef TARGET_ARCH_ppc
 443 # include "globalDefinitions_ppc.hpp"
 444 #endif
 445 
 446 /*
 447  * If a platform does not support native stack walking
 448  * the platform specific globalDefinitions (above)
 449  * can set PLATFORM_NATIVE_STACK_WALKING_SUPPORTED to 0
 450  */
 451 #ifndef PLATFORM_NATIVE_STACK_WALKING_SUPPORTED




 410 // Klass encoding metaspace max size
 411 const uint64_t KlassEncodingMetaspaceMax = (uint64_t(max_juint) + 1) << LogKlassAlignmentInBytes;
 412 
 413 // Machine dependent stuff
 414 
 415 #if defined(X86) && defined(COMPILER2) && !defined(JAVASE_EMBEDDED)
 416 // Include Restricted Transactional Memory lock eliding optimization
 417 #define INCLUDE_RTM_OPT 1
 418 #define RTM_OPT_ONLY(code) code
 419 #else
 420 #define INCLUDE_RTM_OPT 0
 421 #define RTM_OPT_ONLY(code)
 422 #endif
 423 // States of Restricted Transactional Memory usage.
 424 enum RTMState {
 425   NoRTM      = 0x2, // Don't use RTM
 426   UseRTM     = 0x1, // Use RTM
 427   ProfileRTM = 0x0  // Use RTM with abort ratio calculation
 428 };
 429 
 430 // The maximum size of the code cache.  Can be overridden by targets.
 431 #define CODE_CACHE_SIZE_LIMIT (2*G)
 432 // Allow targets to reduce the default size of the code cache.
 433 #define CODE_CACHE_DEFAULT_LIMIT CODE_CACHE_SIZE_LIMIT
 434 
 435 #ifdef TARGET_ARCH_x86
 436 # include "globalDefinitions_x86.hpp"
 437 #endif
 438 #ifdef TARGET_ARCH_aarch64
 439 # include "globalDefinitions_aarch64.hpp"
 440 #endif
 441 #ifdef TARGET_ARCH_sparc
 442 # include "globalDefinitions_sparc.hpp"
 443 #endif
 444 #ifdef TARGET_ARCH_zero
 445 # include "globalDefinitions_zero.hpp"
 446 #endif
 447 #ifdef TARGET_ARCH_arm
 448 # include "globalDefinitions_arm.hpp"
 449 #endif
 450 #ifdef TARGET_ARCH_ppc
 451 # include "globalDefinitions_ppc.hpp"
 452 #endif
 453 
 454 /*
 455  * If a platform does not support native stack walking
 456  * the platform specific globalDefinitions (above)
 457  * can set PLATFORM_NATIVE_STACK_WALKING_SUPPORTED to 0
 458  */
 459 #ifndef PLATFORM_NATIVE_STACK_WALKING_SUPPORTED


< prev index next >