53 #endif // COMPILER2 |
53 #endif // COMPILER2 |
54 define_pd_global(intx, OptoLoopAlignment, 16); |
54 define_pd_global(intx, OptoLoopAlignment, 16); |
55 define_pd_global(intx, InlineFrequencyCount, 100); |
55 define_pd_global(intx, InlineFrequencyCount, 100); |
56 define_pd_global(intx, InlineSmallCode, 1000); |
56 define_pd_global(intx, InlineSmallCode, 1000); |
57 |
57 |
58 define_pd_global(intx, StackYellowPages, NOT_WINDOWS(2) WINDOWS_ONLY(3)); |
58 #define DEFAULT_STACK_YELLOW_PAGES (NOT_WINDOWS(2) WINDOWS_ONLY(3)) |
59 define_pd_global(intx, StackRedPages, 1); |
59 #define DEFAULT_STACK_RED_PAGES (1) |
|
60 |
|
61 #define MIN_STACK_YELLOW_PAGES DEFAULT_STACK_YELLOW_PAGES |
|
62 #define MIN_STACK_RED_PAGES DEFAULT_STACK_RED_PAGES |
|
63 |
60 #ifdef AMD64 |
64 #ifdef AMD64 |
61 // Very large C++ stack frames using solaris-amd64 optimized builds |
65 // Very large C++ stack frames using solaris-amd64 optimized builds |
62 // due to lack of optimization caused by C++ compiler bugs |
66 // due to lack of optimization caused by C++ compiler bugs |
63 define_pd_global(intx, StackShadowPages, NOT_WIN64(20) WIN64_ONLY(6) DEBUG_ONLY(+2)); |
67 #define DEFAULT_STACK_SHADOW_PAGES (NOT_WIN64(20) WIN64_ONLY(6) DEBUG_ONLY(+2)) |
|
68 // For those clients that do not use write socket, we allow |
|
69 // the min range value to be below that of the default |
|
70 #define MIN_STACK_SHADOW_PAGES (NOT_WIN64(10) WIN64_ONLY(6) DEBUG_ONLY(+2)) |
64 #else |
71 #else |
65 define_pd_global(intx, StackShadowPages, 4 DEBUG_ONLY(+5)); |
72 #define DEFAULT_STACK_SHADOW_PAGES (4 DEBUG_ONLY(+5)) |
|
73 #define MIN_STACK_SHADOW_PAGES DEFAULT_STACK_SHADOW_PAGES |
66 #endif // AMD64 |
74 #endif // AMD64 |
|
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); |
67 |
79 |
68 define_pd_global(bool, RewriteBytecodes, true); |
80 define_pd_global(bool, RewriteBytecodes, true); |
69 define_pd_global(bool, RewriteFrequentPairs, true); |
81 define_pd_global(bool, RewriteFrequentPairs, true); |
70 |
82 |
71 #ifdef _ALLBSD_SOURCE |
83 #ifdef _ALLBSD_SOURCE |
132 product(bool, UseRTMDeopt, false, \ |
144 product(bool, UseRTMDeopt, false, \ |
133 "Perform deopt and recompilation based on RTM abort ratio") \ |
145 "Perform deopt and recompilation based on RTM abort ratio") \ |
134 \ |
146 \ |
135 product(uintx, RTMRetryCount, 5, \ |
147 product(uintx, RTMRetryCount, 5, \ |
136 "Number of RTM retries on lock abort or busy") \ |
148 "Number of RTM retries on lock abort or busy") \ |
|
149 range(0, max_uintx) \ |
137 \ |
150 \ |
138 experimental(intx, RTMSpinLoopCount, 100, \ |
151 experimental(intx, RTMSpinLoopCount, 100, \ |
139 "Spin count for lock to become free before RTM retry") \ |
152 "Spin count for lock to become free before RTM retry") \ |
140 \ |
153 \ |
141 experimental(intx, RTMAbortThreshold, 1000, \ |
154 experimental(intx, RTMAbortThreshold, 1000, \ |