< prev index next >

hotspot/src/cpu/sparc/vm/globals_sparc.hpp

Print this page




  40 define_pd_global(bool, ShareVtableStubs,            false); // improves performance markedly for mtrt and compress
  41 define_pd_global(bool, NeedsDeoptSuspend,           true); // register window machines need this
  42 
  43 define_pd_global(bool, ImplicitNullChecks,          true);  // Generate code for implicit null checks
  44 define_pd_global(bool, TrapBasedNullChecks,         false); // Not needed on sparc.
  45 define_pd_global(bool, UncommonNullCast,            true);  // Uncommon-trap NULLs passed to check cast
  46 
  47 define_pd_global(intx, CodeEntryAlignment,    32);
  48 // The default setting 16/16 seems to work best.
  49 // (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.)
  50 define_pd_global(intx, OptoLoopAlignment,     16);  // = 4*wordSize
  51 define_pd_global(intx, InlineFrequencyCount,  50);  // we can use more inlining on the SPARC
  52 define_pd_global(intx, InlineSmallCode,       1500);
  53 
  54 #define DEFAULT_STACK_YELLOW_PAGES (2)
  55 #define DEFAULT_STACK_RED_PAGES (1)
  56 #define DEFAULT_STACK_RESERVED_PAGES (SOLARIS_ONLY(1) NOT_SOLARIS(0))
  57 
  58 #ifdef _LP64
  59 // Stack slots are 2X larger in LP64 than in the 32 bit VM.

  60 define_pd_global(intx, ThreadStackSize,       1024);
  61 define_pd_global(intx, VMThreadStackSize,     1024);
  62 #define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+2))
  63 #else

  64 define_pd_global(intx, ThreadStackSize,       512);
  65 define_pd_global(intx, VMThreadStackSize,     512);
  66 #define DEFAULT_STACK_SHADOW_PAGES (6 DEBUG_ONLY(+2))
  67 #endif // _LP64
  68 
  69 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  70 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES
  71 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  72 #define MIN_STACK_RESERVED_PAGES (0)
  73 
  74 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  75 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
  76 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
  77 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
  78 
  79 define_pd_global(bool, RewriteBytecodes,     true);
  80 define_pd_global(bool, RewriteFrequentPairs, true);
  81 
  82 define_pd_global(bool, UseMembar,            false);
  83 




  40 define_pd_global(bool, ShareVtableStubs,            false); // improves performance markedly for mtrt and compress
  41 define_pd_global(bool, NeedsDeoptSuspend,           true); // register window machines need this
  42 
  43 define_pd_global(bool, ImplicitNullChecks,          true);  // Generate code for implicit null checks
  44 define_pd_global(bool, TrapBasedNullChecks,         false); // Not needed on sparc.
  45 define_pd_global(bool, UncommonNullCast,            true);  // Uncommon-trap NULLs passed to check cast
  46 
  47 define_pd_global(intx, CodeEntryAlignment,    32);
  48 // The default setting 16/16 seems to work best.
  49 // (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.)
  50 define_pd_global(intx, OptoLoopAlignment,     16);  // = 4*wordSize
  51 define_pd_global(intx, InlineFrequencyCount,  50);  // we can use more inlining on the SPARC
  52 define_pd_global(intx, InlineSmallCode,       1500);
  53 
  54 #define DEFAULT_STACK_YELLOW_PAGES (2)
  55 #define DEFAULT_STACK_RED_PAGES (1)
  56 #define DEFAULT_STACK_RESERVED_PAGES (SOLARIS_ONLY(1) NOT_SOLARIS(0))
  57 
  58 #ifdef _LP64
  59 // Stack slots are 2X larger in LP64 than in the 32 bit VM.
  60 define_pd_global(intx, CompilerThreadStackSize, 1024);
  61 define_pd_global(intx, ThreadStackSize,       1024);
  62 define_pd_global(intx, VMThreadStackSize,     1024);
  63 #define DEFAULT_STACK_SHADOW_PAGES (20 DEBUG_ONLY(+2))
  64 #else
  65 define_pd_global(intx, CompilerThreadStackSize, 512);
  66 define_pd_global(intx, ThreadStackSize,       512);
  67 define_pd_global(intx, VMThreadStackSize,     512);
  68 #define DEFAULT_STACK_SHADOW_PAGES (6 DEBUG_ONLY(+2))
  69 #endif // _LP64
  70 
  71 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES
  72 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES
  73 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES
  74 #define MIN_STACK_RESERVED_PAGES (0)
  75 
  76 define_pd_global(intx, StackYellowPages, DEFAULT_STACK_YELLOW_PAGES);
  77 define_pd_global(intx, StackRedPages, DEFAULT_STACK_RED_PAGES);
  78 define_pd_global(intx, StackShadowPages, DEFAULT_STACK_SHADOW_PAGES);
  79 define_pd_global(intx, StackReservedPages, DEFAULT_STACK_RESERVED_PAGES);
  80 
  81 define_pd_global(bool, RewriteBytecodes,     true);
  82 define_pd_global(bool, RewriteFrequentPairs, true);
  83 
  84 define_pd_global(bool, UseMembar,            false);
  85 


< prev index next >