Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/globals_sparc.hpp @ 1064:473cce303f13
6887571: Increase default heap config sizes
Summary: Apply modification of existing server heap size ergo to all collectors except CMS.
Reviewed-by: jmasa, ysr, xlu
author | phh |
---|---|
date | Wed, 28 Oct 2009 16:25:51 -0400 |
parents | bd02caa94611 |
children | 6476042f815c |
comparison
equal
deleted
inserted
replaced
1035:a3b9e96881fe | 1064:473cce303f13 |
---|---|
20 * CA 95054 USA or visit www.sun.com if you need additional information or | 20 * CA 95054 USA or visit www.sun.com if you need additional information or |
21 * have any questions. | 21 * have any questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 // | |
26 // Sets the default values for platform dependent flags used by the runtime system. | 25 // Sets the default values for platform dependent flags used by the runtime system. |
27 // (see globals.hpp) | 26 // (see globals.hpp) |
28 // | |
29 | 27 |
30 // For sparc we do not do call backs when a thread is in the interpreter, because the | 28 // For sparc we do not do call backs when a thread is in the interpreter, because the |
31 // interpreter dispatch needs at least two instructions - first to load the dispatch address | 29 // interpreter dispatch needs at least two instructions - first to load the dispatch address |
32 // in a register, and second to jmp. The swapping of the dispatch table may occur _after_ | 30 // in a register, and second to jmp. The swapping of the dispatch table may occur _after_ |
33 // the load of the dispatch address and hence the jmp would still go to the location | 31 // the load of the dispatch address and hence the jmp would still go to the location |
39 define_pd_global(bool, NeedsDeoptSuspend, true); // register window machines need this | 37 define_pd_global(bool, NeedsDeoptSuspend, true); // register window machines need this |
40 | 38 |
41 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks | 39 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks |
42 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast | 40 define_pd_global(bool, UncommonNullCast, true); // Uncommon-trap NULLs past to check cast |
43 | 41 |
44 define_pd_global(intx, CodeEntryAlignment, 32); | 42 define_pd_global(intx, CodeEntryAlignment, 32); |
45 define_pd_global(uintx, TLABSize, 0); | 43 define_pd_global(intx, InlineFrequencyCount, 50); // we can use more inlining on the SPARC |
46 define_pd_global(uintx, NewSize, ScaleForWordSize((2048 * K) + (2 * (64 * K)))); | 44 define_pd_global(intx, InlineSmallCode, 1500); |
47 define_pd_global(intx, SurvivorRatio, 8); | |
48 define_pd_global(intx, InlineFrequencyCount, 50); // we can use more inlining on the SPARC | |
49 define_pd_global(intx, InlineSmallCode, 1500); | |
50 #ifdef _LP64 | 45 #ifdef _LP64 |
51 // Stack slots are 2X larger in LP64 than in the 32 bit VM. | 46 // Stack slots are 2X larger in LP64 than in the 32 bit VM. |
52 define_pd_global(intx, ThreadStackSize, 1024); | 47 define_pd_global(intx, ThreadStackSize, 1024); |
53 define_pd_global(intx, VMThreadStackSize, 1024); | 48 define_pd_global(intx, VMThreadStackSize, 1024); |
54 #else | 49 #else |
55 define_pd_global(intx, ThreadStackSize, 512); | 50 define_pd_global(intx, ThreadStackSize, 512); |
56 define_pd_global(intx, VMThreadStackSize, 512); | 51 define_pd_global(intx, VMThreadStackSize, 512); |
57 #endif | 52 #endif |
58 | 53 |
59 define_pd_global(intx, StackYellowPages, 2); | 54 define_pd_global(intx, StackYellowPages, 2); |
60 define_pd_global(intx, StackRedPages, 1); | 55 define_pd_global(intx, StackRedPages, 1); |
61 define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1)); | 56 define_pd_global(intx, StackShadowPages, 3 DEBUG_ONLY(+1)); |
62 | 57 |
63 define_pd_global(intx, PreInflateSpin, 40); // Determined by running design center | 58 define_pd_global(intx, PreInflateSpin, 40); // Determined by running design center |
64 | 59 |
65 define_pd_global(bool, RewriteBytecodes, true); | 60 define_pd_global(bool, RewriteBytecodes, true); |
66 define_pd_global(bool, RewriteFrequentPairs, true); | 61 define_pd_global(bool, RewriteFrequentPairs, true); |