Mercurial > hg > truffle
comparison src/cpu/sparc/vm/c2_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 | a61af66fc99e |
children | 6476042f815c |
comparison
equal
deleted
inserted
replaced
1035:a3b9e96881fe | 1064:473cce303f13 |
---|---|
57 define_pd_global(intx, ConditionalMoveLimit, 4); | 57 define_pd_global(intx, ConditionalMoveLimit, 4); |
58 define_pd_global(intx, FLOATPRESSURE, 52); // C2 on V9 gets to use all the float/double registers | 58 define_pd_global(intx, FLOATPRESSURE, 52); // C2 on V9 gets to use all the float/double registers |
59 define_pd_global(intx, FreqInlineSize, 175); | 59 define_pd_global(intx, FreqInlineSize, 175); |
60 define_pd_global(intx, INTPRESSURE, 48); // large register set | 60 define_pd_global(intx, INTPRESSURE, 48); // large register set |
61 define_pd_global(intx, InteriorEntryAlignment, 16); // = CodeEntryAlignment | 61 define_pd_global(intx, InteriorEntryAlignment, 16); // = CodeEntryAlignment |
62 define_pd_global(intx, NewRatio, 2); | |
63 define_pd_global(intx, NewSizeThreadIncrease, ScaleForWordSize(4*K)); | 62 define_pd_global(intx, NewSizeThreadIncrease, ScaleForWordSize(4*K)); |
64 // The default setting 16/16 seems to work best. | 63 // The default setting 16/16 seems to work best. |
65 // (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.) | 64 // (For _228_jack 16/16 is 2% better than 4/4, 16/4, 32/32, 32/16, or 16/32.) |
66 define_pd_global(intx, OptoLoopAlignment, 16); // = 4*wordSize | 65 define_pd_global(intx, OptoLoopAlignment, 16); // = 4*wordSize |
67 define_pd_global(intx, RegisterCostAreaRatio, 12000); | 66 define_pd_global(intx, RegisterCostAreaRatio, 12000); |
81 // 2 gigs of the libjvm.so runtime routines so we can use | 80 // 2 gigs of the libjvm.so runtime routines so we can use |
82 // the faster "call" instruction rather than the expensive | 81 // the faster "call" instruction rather than the expensive |
83 // sequence of instructions to load a 64 bit pointer. | 82 // sequence of instructions to load a 64 bit pointer. |
84 // | 83 // |
85 // InitialCodeCacheSize derived from specjbb2000 run. | 84 // InitialCodeCacheSize derived from specjbb2000 run. |
86 define_pd_global(intx, InitialCodeCacheSize, 2048*K); // Integral multiple of CodeCacheExpansionSize | 85 define_pd_global(intx, InitialCodeCacheSize, 2048*K); // Integral multiple of CodeCacheExpansionSize |
87 define_pd_global(intx, ReservedCodeCacheSize, 48*M); | 86 define_pd_global(intx, ReservedCodeCacheSize, 48*M); |
88 define_pd_global(intx, CodeCacheExpansionSize, 64*K); | 87 define_pd_global(intx, CodeCacheExpansionSize, 64*K); |
89 | 88 |
90 // Ergonomics related flags | 89 // Ergonomics related flags |
91 define_pd_global(uintx, DefaultMaxRAM, 32*G); | 90 define_pd_global(uint64_t,MaxRAM, 128ULL*G); |
92 #else | 91 #else |
93 // InitialCodeCacheSize derived from specjbb2000 run. | 92 // InitialCodeCacheSize derived from specjbb2000 run. |
94 define_pd_global(intx, InitialCodeCacheSize, 1536*K); // Integral multiple of CodeCacheExpansionSize | 93 define_pd_global(intx, InitialCodeCacheSize, 1536*K); // Integral multiple of CodeCacheExpansionSize |
95 define_pd_global(intx, ReservedCodeCacheSize, 32*M); | 94 define_pd_global(intx, ReservedCodeCacheSize, 32*M); |
96 define_pd_global(intx, CodeCacheExpansionSize, 32*K); | 95 define_pd_global(intx, CodeCacheExpansionSize, 32*K); |
97 // Ergonomics related flags | 96 // Ergonomics related flags |
98 define_pd_global(uintx, DefaultMaxRAM, 1*G); | 97 define_pd_global(uint64_t,MaxRAM, 4ULL*G); |
99 #endif | 98 #endif |
100 define_pd_global(uintx,CodeCacheMinBlockLength, 4); | 99 define_pd_global(uintx,CodeCacheMinBlockLength, 4); |
101 | 100 |
102 // Heap related flags | 101 // Heap related flags |
103 define_pd_global(uintx, PermSize, ScaleForWordSize(16*M)); | 102 define_pd_global(uintx,PermSize, ScaleForWordSize(16*M)); |
104 define_pd_global(uintx, MaxPermSize, ScaleForWordSize(64*M)); | 103 define_pd_global(uintx,MaxPermSize, ScaleForWordSize(64*M)); |
105 | 104 |
106 // Ergonomics related flags | 105 // Ergonomics related flags |
107 define_pd_global(bool, NeverActAsServerClassMachine, false); | 106 define_pd_global(bool, NeverActAsServerClassMachine, false); |