< prev index next >

src/hotspot/cpu/s390/globalDefinitions_s390.hpp

Print this page
rev 55962 : 8229422: Taskqueue: Outdated selection of weak memory model platforms
Reviewed-by:


  25 
  26 #ifndef CPU_S390_GLOBALDEFINITIONS_S390_HPP
  27 #define CPU_S390_GLOBALDEFINITIONS_S390_HPP
  28 
  29 #ifdef CC_INTERP
  30 #error "CC_INTERP is not supported on z/Architecture."
  31 #endif
  32 
  33 // Convenience macro that produces a string literal with the filename
  34 // and linenumber of the location where the macro was used.
  35 #ifndef FILE_AND_LINE
  36 #define FILE_AND_LINE __FILE__ ":" XSTR(__LINE__)
  37 #endif
  38 
  39 #define ShortenBranches true
  40 
  41 const int StackAlignmentInBytes = 16;
  42 
  43 #define SUPPORTS_NATIVE_CX8
  44 



  45 // Indicates whether the C calling conventions require that
  46 // 32-bit integer argument values are extended to 64 bits.
  47 // This is the case on z/Architecture.
  48 const bool CCallingConventionRequiresIntsAsLongs = true;
  49 
  50 // Contended Locking reorder and cache line bucket.
  51 // This setting should be kept compatible with vm_version_s390.cpp.
  52 // The expected size in bytes of a cache line, used to pad data structures.
  53 #define DEFAULT_CACHE_LINE_SIZE 256
  54 
  55 #define SUPPORT_RESERVED_STACK_AREA
  56 
  57 #define THREAD_LOCAL_POLL
  58 
  59 #endif // CPU_S390_GLOBALDEFINITIONS_S390_HPP


  25 
  26 #ifndef CPU_S390_GLOBALDEFINITIONS_S390_HPP
  27 #define CPU_S390_GLOBALDEFINITIONS_S390_HPP
  28 
  29 #ifdef CC_INTERP
  30 #error "CC_INTERP is not supported on z/Architecture."
  31 #endif
  32 
  33 // Convenience macro that produces a string literal with the filename
  34 // and linenumber of the location where the macro was used.
  35 #ifndef FILE_AND_LINE
  36 #define FILE_AND_LINE __FILE__ ":" XSTR(__LINE__)
  37 #endif
  38 
  39 #define ShortenBranches true
  40 
  41 const int StackAlignmentInBytes = 16;
  42 
  43 #define SUPPORTS_NATIVE_CX8
  44 
  45 // s390 has this property:
  46 #define CPU_MULTI_COPY_ATOMIC
  47 
  48 // Indicates whether the C calling conventions require that
  49 // 32-bit integer argument values are extended to 64 bits.
  50 // This is the case on z/Architecture.
  51 const bool CCallingConventionRequiresIntsAsLongs = true;
  52 
  53 // Contended Locking reorder and cache line bucket.
  54 // This setting should be kept compatible with vm_version_s390.cpp.
  55 // The expected size in bytes of a cache line, used to pad data structures.
  56 #define DEFAULT_CACHE_LINE_SIZE 256
  57 
  58 #define SUPPORT_RESERVED_STACK_AREA
  59 
  60 #define THREAD_LOCAL_POLL
  61 
  62 #endif // CPU_S390_GLOBALDEFINITIONS_S390_HPP
< prev index next >