< prev index next >

src/hotspot/cpu/aarch64/globals_aarch64.hpp

Print this page




  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #ifndef CPU_AARCH64_GLOBALS_AARCH64_HPP
  27 #define CPU_AARCH64_GLOBALS_AARCH64_HPP
  28 
  29 #include "utilities/globalDefinitions.hpp"
  30 #include "utilities/macros.hpp"
  31 
  32 // Sets the default values for platform dependent flags used by the runtime system.
  33 // (see globals.hpp)
  34 
  35 define_pd_global(bool, ShareVtableStubs,         true);
  36 
  37 define_pd_global(bool, ImplicitNullChecks,       true);  // Generate code for implicit null checks
  38 define_pd_global(bool, TrapBasedNullChecks,  false);
  39 define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
  40 


  41 define_pd_global(uintx, CodeCacheSegmentSize,    64 TIERED_ONLY(+64)); // Tiered compilation has large code-entry alignment.
  42 define_pd_global(intx, CodeEntryAlignment,       64);
  43 define_pd_global(intx, OptoLoopAlignment,        16);
  44 define_pd_global(intx, InlineFrequencyCount,     100);
  45 
  46 #define DEFAULT_STACK_YELLOW_PAGES (2)
  47 #define DEFAULT_STACK_RED_PAGES (1)
  48 // Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the
  49 // stack if compiled for unix and LP64. To pass stack overflow tests we need
  50 // 20 shadow pages.
  51 #define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+5))
  52 #define DEFAULT_STACK_RESERVED_PAGES (1)
  53 
  54 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  55 #define MIN_STACK_RED_PAGES    DEFAULT_STACK_RED_PAGES
  56 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  57 #define MIN_STACK_RESERVED_PAGES (0)
  58 
  59 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  60 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);




  21  * or visit www.oracle.com if you need additional information or have any
  22  * questions.
  23  *
  24  */
  25 
  26 #ifndef CPU_AARCH64_GLOBALS_AARCH64_HPP
  27 #define CPU_AARCH64_GLOBALS_AARCH64_HPP
  28 
  29 #include "utilities/globalDefinitions.hpp"
  30 #include "utilities/macros.hpp"
  31 
  32 // Sets the default values for platform dependent flags used by the runtime system.
  33 // (see globals.hpp)
  34 
  35 define_pd_global(bool, ShareVtableStubs,         true);
  36 
  37 define_pd_global(bool, ImplicitNullChecks,       true);  // Generate code for implicit null checks
  38 define_pd_global(bool, TrapBasedNullChecks,  false);
  39 define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
  40 
  41 define_pd_global(bool, UseFastClassInitChecks,   false); // not implemented
  42 
  43 define_pd_global(uintx, CodeCacheSegmentSize,    64 TIERED_ONLY(+64)); // Tiered compilation has large code-entry alignment.
  44 define_pd_global(intx, CodeEntryAlignment,       64);
  45 define_pd_global(intx, OptoLoopAlignment,        16);
  46 define_pd_global(intx, InlineFrequencyCount,     100);
  47 
  48 #define DEFAULT_STACK_YELLOW_PAGES (2)
  49 #define DEFAULT_STACK_RED_PAGES (1)
  50 // Java_java_net_SocketOutputStream_socketWrite0() uses a 64k buffer on the
  51 // stack if compiled for unix and LP64. To pass stack overflow tests we need
  52 // 20 shadow pages.
  53 #define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+5))
  54 #define DEFAULT_STACK_RESERVED_PAGES (1)
  55 
  56 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  57 #define MIN_STACK_RED_PAGES    DEFAULT_STACK_RED_PAGES
  58 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  59 #define MIN_STACK_RESERVED_PAGES (0)
  60 
  61 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  62 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);


< prev index next >