src/cpu/x86/vm/globals_x86.hpp

changeset 1499
473cce303f13
parent 1279
bd02caa94611
child 1800
6476042f815c
     1.1 --- a/src/cpu/x86/vm/globals_x86.hpp	Fri Oct 23 18:44:33 2009 -0700
     1.2 +++ b/src/cpu/x86/vm/globals_x86.hpp	Wed Oct 28 16:25:51 2009 -0400
     1.3 @@ -22,17 +22,16 @@
     1.4   *
     1.5   */
     1.6  
     1.7 -//
     1.8  // Sets the default values for platform dependent flags used by the runtime system.
     1.9  // (see globals.hpp)
    1.10 -//
    1.11  
    1.12 -define_pd_global(bool,  ConvertSleepToYield,      true);
    1.13 -define_pd_global(bool,  ShareVtableStubs,         true);
    1.14 -define_pd_global(bool,  CountInterpCalls,         true);
    1.15 +define_pd_global(bool, ConvertSleepToYield,      true);
    1.16 +define_pd_global(bool, ShareVtableStubs,         true);
    1.17 +define_pd_global(bool, CountInterpCalls,         true);
    1.18 +define_pd_global(bool, NeedsDeoptSuspend,        false); // only register window machines need this
    1.19  
    1.20 -define_pd_global(bool, ImplicitNullChecks,          true);  // Generate code for implicit null checks
    1.21 -define_pd_global(bool, UncommonNullCast,            true);  // Uncommon-trap NULLs past to check cast
    1.22 +define_pd_global(bool, ImplicitNullChecks,       true);  // Generate code for implicit null checks
    1.23 +define_pd_global(bool, UncommonNullCast,         true);  // Uncommon-trap NULLs past to check cast
    1.24  
    1.25  // See 4827828 for this change. There is no globals_core_i486.hpp. I can't
    1.26  // assign a different value for C2 without touching a number of files. Use
    1.27 @@ -42,29 +41,24 @@
    1.28  // the uep and the vep doesn't get real alignment but just slops on by
    1.29  // only assured that the entry instruction meets the 5 byte size requirement.
    1.30  #ifdef COMPILER2
    1.31 -define_pd_global(intx,  CodeEntryAlignment,       32);
    1.32 +define_pd_global(intx, CodeEntryAlignment,       32);
    1.33  #else
    1.34 -define_pd_global(intx,  CodeEntryAlignment,       16);
    1.35 +define_pd_global(intx, CodeEntryAlignment,       16);
    1.36  #endif // COMPILER2
    1.37 +define_pd_global(intx, InlineFrequencyCount,     100);
    1.38 +define_pd_global(intx, InlineSmallCode,          1000);
    1.39  
    1.40 -define_pd_global(bool, NeedsDeoptSuspend,           false); // only register window machines need this
    1.41 -
    1.42 -define_pd_global(uintx, TLABSize,                 0);
    1.43 +define_pd_global(intx, StackYellowPages, 2);
    1.44 +define_pd_global(intx, StackRedPages, 1);
    1.45  #ifdef AMD64
    1.46 -define_pd_global(uintx, NewSize, ScaleForWordSize(2048 * K));
    1.47  // Very large C++ stack frames using solaris-amd64 optimized builds
    1.48  // due to lack of optimization caused by C++ compiler bugs
    1.49  define_pd_global(intx, StackShadowPages, SOLARIS_ONLY(20) NOT_SOLARIS(6) DEBUG_ONLY(+2));
    1.50  #else
    1.51 -define_pd_global(uintx, NewSize,                  1024 * K);
    1.52  define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1));
    1.53  #endif // AMD64
    1.54 -define_pd_global(intx,  InlineFrequencyCount,     100);
    1.55 -define_pd_global(intx,  InlineSmallCode,          1000);
    1.56 -define_pd_global(intx,  PreInflateSpin,           10);
    1.57  
    1.58 -define_pd_global(intx, StackYellowPages, 2);
    1.59 -define_pd_global(intx, StackRedPages, 1);
    1.60 +define_pd_global(intx, PreInflateSpin,           10);
    1.61  
    1.62  define_pd_global(bool, RewriteBytecodes,     true);
    1.63  define_pd_global(bool, RewriteFrequentPairs, true);

mercurial