21 * CA 95054 USA or visit www.sun.com if you need additional information or |
21 * CA 95054 USA or visit www.sun.com if you need additional information or |
22 * have any questions. |
22 * have any questions. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 // |
|
27 // Set the default values for platform dependent flags used by the |
26 // Set the default values for platform dependent flags used by the |
28 // runtime system. See globals.hpp for details of what they do. |
27 // runtime system. See globals.hpp for details of what they do. |
29 // |
|
30 |
28 |
31 define_pd_global(bool, ConvertSleepToYield, true); |
29 define_pd_global(bool, ConvertSleepToYield, true); |
32 define_pd_global(bool, ShareVtableStubs, true); |
30 define_pd_global(bool, ShareVtableStubs, true); |
33 define_pd_global(bool, CountInterpCalls, true); |
31 define_pd_global(bool, CountInterpCalls, true); |
34 define_pd_global(bool, NeedsDeoptSuspend, false); |
32 define_pd_global(bool, NeedsDeoptSuspend, false); |
35 |
33 |
36 define_pd_global(bool, ImplicitNullChecks, true); |
34 define_pd_global(bool, ImplicitNullChecks, true); |
37 define_pd_global(bool, UncommonNullCast, true); |
35 define_pd_global(bool, UncommonNullCast, true); |
38 |
36 |
39 define_pd_global(intx, CodeEntryAlignment, 32); |
37 define_pd_global(intx, CodeEntryAlignment, 32); |
40 define_pd_global(uintx, TLABSize, 0); |
|
41 #ifdef _LP64 |
|
42 define_pd_global(uintx, NewSize, ScaleForWordSize(2048 * K)); |
|
43 #else |
|
44 define_pd_global(uintx, NewSize, ScaleForWordSize(1024 * K)); |
|
45 #endif // _LP64 |
|
46 define_pd_global(intx, InlineFrequencyCount, 100); |
38 define_pd_global(intx, InlineFrequencyCount, 100); |
47 define_pd_global(intx, InlineSmallCode, 1000); |
39 define_pd_global(intx, InlineSmallCode, 1000); |
48 define_pd_global(intx, PreInflateSpin, 10); |
40 define_pd_global(intx, PreInflateSpin, 10); |
49 |
41 |
50 define_pd_global(intx, StackYellowPages, 2); |
42 define_pd_global(intx, StackYellowPages, 2); |