< prev index next >

src/cpu/aarch64/vm/globals_aarch64.hpp

Print this page
rev 12502 : 8172144: AArch64: Implement "JEP 270: Reserved Stack Areas for Critical Sections"
Reviewed-by: duke


  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 define_pd_global(bool, NeedsDeoptSuspend,        false); // only register window machines need this
  37 
  38 define_pd_global(bool, ImplicitNullChecks,       true);  // Generate code for implicit null checks
  39 define_pd_global(bool, TrapBasedNullChecks,  false);
  40 define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
  41 
  42 define_pd_global(uintx, CodeCacheSegmentSize,    64 TIERED_ONLY(+64)); // Tiered compilation has large code-entry alignment.
  43 define_pd_global(intx, CodeEntryAlignment,       64);
  44 define_pd_global(intx, OptoLoopAlignment,        16);
  45 define_pd_global(intx, InlineFrequencyCount,     100);
  46 
  47 #define DEFAULT_STACK_YELLOW_PAGES (2)
  48 #define DEFAULT_STACK_RED_PAGES (1)
  49 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
  50 #define DEFAULT_STACK_RESERVED_PAGES (0)
  51 
  52 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  53 #define MIN_STACK_RED_PAGES    DEFAULT_STACK_RED_PAGES
  54 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  55 #define MIN_STACK_RESERVED_PAGES (0)
  56 
  57 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  58 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
  59 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
  60 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
  61 
  62 define_pd_global(bool, RewriteBytecodes,     true);
  63 define_pd_global(bool, RewriteFrequentPairs, true);
  64 
  65 define_pd_global(bool, UseMembar,            true);
  66 
  67 define_pd_global(bool, PreserveFramePointer, false);
  68 
  69 // GC Ergo Flags
  70 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M);  // default max size of CMS young gen, per GC worker thread




  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 define_pd_global(bool, NeedsDeoptSuspend,        false); // only register window machines need this
  37 
  38 define_pd_global(bool, ImplicitNullChecks,       true);  // Generate code for implicit null checks
  39 define_pd_global(bool, TrapBasedNullChecks,  false);
  40 define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
  41 
  42 define_pd_global(uintx, CodeCacheSegmentSize,    64 TIERED_ONLY(+64)); // Tiered compilation has large code-entry alignment.
  43 define_pd_global(intx, CodeEntryAlignment,       64);
  44 define_pd_global(intx, OptoLoopAlignment,        16);
  45 define_pd_global(intx, InlineFrequencyCount,     100);
  46 
  47 #define DEFAULT_STACK_YELLOW_PAGES (2)
  48 #define DEFAULT_STACK_RED_PAGES (1)
  49 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
  50 #define DEFAULT_STACK_RESERVED_PAGES (1)
  51 
  52 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  53 #define MIN_STACK_RED_PAGES    DEFAULT_STACK_RED_PAGES
  54 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  55 #define MIN_STACK_RESERVED_PAGES (0)
  56 
  57 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  58 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
  59 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
  60 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
  61 
  62 define_pd_global(bool, RewriteBytecodes,     true);
  63 define_pd_global(bool, RewriteFrequentPairs, true);
  64 
  65 define_pd_global(bool, UseMembar,            true);
  66 
  67 define_pd_global(bool, PreserveFramePointer, false);
  68 
  69 // GC Ergo Flags
  70 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M);  // default max size of CMS young gen, per GC worker thread


< prev index next >