src/cpu/aarch64/vm/globals_aarch64.hpp

Print this page




  41 define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
  42 
  43 // See 4827828 for this change. There is no globals_core_i486.hpp. I can't
  44 // assign a different value for C2 without touching a number of files. Use
  45 // #ifdef to minimize the change as it's late in Mantis. -- FIXME.
  46 // c1 doesn't have this problem because the fix to 4858033 assures us
  47 // the the vep is aligned at CodeEntryAlignment whereas c2 only aligns
  48 // the uep and the vep doesn't get real alignment but just slops on by
  49 // only assured that the entry instruction meets the 5 byte size requirement.
  50 #ifdef COMPILER2
  51 define_pd_global(intx, CodeEntryAlignment,       64);
  52 #else
  53 define_pd_global(intx, CodeEntryAlignment,       16);
  54 #endif // COMPILER2
  55 define_pd_global(intx, OptoLoopAlignment,        16);
  56 define_pd_global(intx, InlineFrequencyCount,     100);
  57 
  58 #define DEFAULT_STACK_YELLOW_PAGES (2)
  59 #define DEFAULT_STACK_RED_PAGES (1)
  60 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))

  61 
  62 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  63 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES
  64 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES

  65 
  66 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  67 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
  68 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);

  69 
  70 define_pd_global(bool, RewriteBytecodes,     true);
  71 define_pd_global(bool, RewriteFrequentPairs, true);
  72 
  73 define_pd_global(bool, UseMembar,            true);
  74 
  75 define_pd_global(bool, PreserveFramePointer, false);
  76 
  77 // GC Ergo Flags
  78 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M);  // default max size of CMS young gen, per GC worker thread
  79 
  80 define_pd_global(uintx, TypeProfileLevel, 111);
  81 
  82 // avoid biased locking while we are bootstrapping the aarch64 build
  83 define_pd_global(bool, UseBiasedLocking, false);
  84 
  85 #if defined(COMPILER1) || defined(COMPILER2)
  86 define_pd_global(intx, InlineSmallCode,          1000);
  87 #endif
  88 




  41 define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
  42 
  43 // See 4827828 for this change. There is no globals_core_i486.hpp. I can't
  44 // assign a different value for C2 without touching a number of files. Use
  45 // #ifdef to minimize the change as it's late in Mantis. -- FIXME.
  46 // c1 doesn't have this problem because the fix to 4858033 assures us
  47 // the the vep is aligned at CodeEntryAlignment whereas c2 only aligns
  48 // the uep and the vep doesn't get real alignment but just slops on by
  49 // only assured that the entry instruction meets the 5 byte size requirement.
  50 #ifdef COMPILER2
  51 define_pd_global(intx, CodeEntryAlignment,       64);
  52 #else
  53 define_pd_global(intx, CodeEntryAlignment,       16);
  54 #endif // COMPILER2
  55 define_pd_global(intx, OptoLoopAlignment,        16);
  56 define_pd_global(intx, InlineFrequencyCount,     100);
  57 
  58 #define DEFAULT_STACK_YELLOW_PAGES (2)
  59 #define DEFAULT_STACK_RED_PAGES (1)
  60 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5))
  61 #define DEFAULT_STACK_RESERVED_PAGES (0)
  62 
  63 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  64 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES
  65 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  66 #define MIN_STACK_RESERVED_PAGES (0)
  67 
  68 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  69 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
  70 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
  71 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
  72 
  73 define_pd_global(bool, RewriteBytecodes,     true);
  74 define_pd_global(bool, RewriteFrequentPairs, true);
  75 
  76 define_pd_global(bool, UseMembar,            true);
  77 
  78 define_pd_global(bool, PreserveFramePointer, false);
  79 
  80 // GC Ergo Flags
  81 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M);  // default max size of CMS young gen, per GC worker thread
  82 
  83 define_pd_global(uintx, TypeProfileLevel, 111);
  84 
  85 // avoid biased locking while we are bootstrapping the aarch64 build
  86 define_pd_global(bool, UseBiasedLocking, false);
  87 
  88 #if defined(COMPILER1) || defined(COMPILER2)
  89 define_pd_global(intx, InlineSmallCode,          1000);
  90 #endif
  91