156 define_pd_global(bool, UseTypeProfile, false); 157 define_pd_global(bool, UseOnStackReplacement, false); 158 define_pd_global(bool, InlineIntrinsics, false); 159 define_pd_global(bool, PreferInterpreterNativeStubs, true); 160 define_pd_global(bool, ProfileInterpreter, false); 161 define_pd_global(bool, ProfileTraps, false); 162 define_pd_global(bool, TieredCompilation, false); 163 164 define_pd_global(intx, CompileThreshold, 0); 165 define_pd_global(intx, BackEdgeThreshold, 0); 166 167 define_pd_global(intx, OnStackReplacePercentage, 0); 168 define_pd_global(bool, ResizeTLAB, false); 169 define_pd_global(intx, FreqInlineSize, 0); 170 define_pd_global(intx, InlineSmallCode, 0); 171 define_pd_global(intx, NewSizeThreadIncrease, 4*K); 172 define_pd_global(intx, InlineClassNatives, true); 173 define_pd_global(intx, InlineUnsafeOps, true); 174 define_pd_global(intx, InitialCodeCacheSize, 160*K); 175 define_pd_global(intx, ReservedCodeCacheSize, 32*M); 176 define_pd_global(intx, CodeCacheExpansionSize, 32*K); 177 define_pd_global(intx, CodeCacheMinBlockLength, 1); 178 define_pd_global(intx, CodeCacheMinimumUseSpace, 200*K); 179 define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(4*M)); 180 define_pd_global(bool, NeverActAsServerClassMachine, true); 181 define_pd_global(uint64_t,MaxRAM, 1ULL*G); 182 #define CI_COMPILER_COUNT 0 183 #else 184 185 #ifdef COMPILER2 186 #define CI_COMPILER_COUNT 2 187 #else 188 #define CI_COMPILER_COUNT 1 189 #endif // COMPILER2 190 191 #endif // no compilers 192 193 // string type aliases used only in this file 194 typedef const char* ccstr; 195 typedef const char* ccstrlist; // represents string arguments which accumulate 3213 \ 3214 /* code cache parameters */ \ 3215 develop(uintx, CodeCacheSegmentSize, 64, \ 3216 "Code cache segment size (in bytes) - smallest unit of " \ 3217 "allocation") \ 3218 \ 3219 develop_pd(intx, CodeEntryAlignment, \ 3220 "Code entry alignment for generated code (in bytes)") \ 3221 \ 3222 product_pd(intx, OptoLoopAlignment, \ 3223 "Align inner loops to zero relative to this modulus") \ 3224 \ 3225 product_pd(uintx, InitialCodeCacheSize, \ 3226 "Initial code cache size (in bytes)") \ 3227 \ 3228 develop_pd(uintx, CodeCacheMinimumUseSpace, \ 3229 "Minimum code cache size (in bytes) required to start VM.") \ 3230 \ 3231 product_pd(uintx, ReservedCodeCacheSize, \ 3232 "Reserved code cache size (in bytes) - maximum code cache size") \ 3233 \ 3234 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ 3235 "When less than X space left, we stop compiling.") \ 3236 \ 3237 product_pd(uintx, CodeCacheExpansionSize, \ 3238 "Code cache expansion size (in bytes)") \ 3239 \ 3240 develop_pd(uintx, CodeCacheMinBlockLength, \ 3241 "Minimum number of segments in a code cache block.") \ 3242 \ 3243 notproduct(bool, ExitOnFullCodeCache, false, \ 3244 "Exit the VM if we fill the code cache.") \ 3245 \ 3246 product(bool, UseCodeCacheFlushing, true, \ 3247 "Attempt to clean the code cache before shutting off compiler") \ 3248 \ 3249 /* interpreter debugging */ \ 3250 develop(intx, BinarySwitchThreshold, 5, \ 3251 "Minimal number of lookupswitch entries for rewriting to binary " \ 3252 "switch") \ | 156 define_pd_global(bool, UseTypeProfile, false); 157 define_pd_global(bool, UseOnStackReplacement, false); 158 define_pd_global(bool, InlineIntrinsics, false); 159 define_pd_global(bool, PreferInterpreterNativeStubs, true); 160 define_pd_global(bool, ProfileInterpreter, false); 161 define_pd_global(bool, ProfileTraps, false); 162 define_pd_global(bool, TieredCompilation, false); 163 164 define_pd_global(intx, CompileThreshold, 0); 165 define_pd_global(intx, BackEdgeThreshold, 0); 166 167 define_pd_global(intx, OnStackReplacePercentage, 0); 168 define_pd_global(bool, ResizeTLAB, false); 169 define_pd_global(intx, FreqInlineSize, 0); 170 define_pd_global(intx, InlineSmallCode, 0); 171 define_pd_global(intx, NewSizeThreadIncrease, 4*K); 172 define_pd_global(intx, InlineClassNatives, true); 173 define_pd_global(intx, InlineUnsafeOps, true); 174 define_pd_global(intx, InitialCodeCacheSize, 160*K); 175 define_pd_global(intx, ReservedCodeCacheSize, 32*M); 176 define_pd_global(intx, ProfiledCodeHeapSize, 9*M); 177 define_pd_global(intx, NonProfiledCodeHeapSize, 19*M); // 4Mb non-method heap 178 define_pd_global(intx, CodeCacheExpansionSize, 32*K); 179 define_pd_global(intx, CodeCacheMinBlockLength, 1); 180 define_pd_global(intx, CodeCacheMinimumUseSpace, 200*K); 181 define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(4*M)); 182 define_pd_global(bool, NeverActAsServerClassMachine, true); 183 define_pd_global(uint64_t,MaxRAM, 1ULL*G); 184 #define CI_COMPILER_COUNT 0 185 #else 186 187 #ifdef COMPILER2 188 #define CI_COMPILER_COUNT 2 189 #else 190 #define CI_COMPILER_COUNT 1 191 #endif // COMPILER2 192 193 #endif // no compilers 194 195 // string type aliases used only in this file 196 typedef const char* ccstr; 197 typedef const char* ccstrlist; // represents string arguments which accumulate 3215 \ 3216 /* code cache parameters */ \ 3217 develop(uintx, CodeCacheSegmentSize, 64, \ 3218 "Code cache segment size (in bytes) - smallest unit of " \ 3219 "allocation") \ 3220 \ 3221 develop_pd(intx, CodeEntryAlignment, \ 3222 "Code entry alignment for generated code (in bytes)") \ 3223 \ 3224 product_pd(intx, OptoLoopAlignment, \ 3225 "Align inner loops to zero relative to this modulus") \ 3226 \ 3227 product_pd(uintx, InitialCodeCacheSize, \ 3228 "Initial code cache size (in bytes)") \ 3229 \ 3230 develop_pd(uintx, CodeCacheMinimumUseSpace, \ 3231 "Minimum code cache size (in bytes) required to start VM.") \ 3232 \ 3233 product_pd(uintx, ReservedCodeCacheSize, \ 3234 "Reserved code cache size (in bytes) - maximum code cache size") \ 3235 \ 3236 product_pd(uintx, NonProfiledCodeHeapSize, \ 3237 "Size of code heap with non-profiled methods (in bytes)") \ 3238 \ 3239 product_pd(uintx, ProfiledCodeHeapSize, \ 3240 "Size of code heap with profiled methods (in bytes)") \ 3241 \ 3242 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ 3243 "When less than X space left, we stop compiling.") \ 3244 \ 3245 product_pd(uintx, CodeCacheExpansionSize, \ 3246 "Code cache expansion size (in bytes)") \ 3247 \ 3248 develop_pd(uintx, CodeCacheMinBlockLength, \ 3249 "Minimum number of segments in a code cache block.") \ 3250 \ 3251 notproduct(bool, ExitOnFullCodeCache, false, \ 3252 "Exit the VM if we fill the code cache.") \ 3253 \ 3254 product(bool, UseCodeCacheFlushing, true, \ 3255 "Attempt to clean the code cache before shutting off compiler") \ 3256 \ 3257 /* interpreter debugging */ \ 3258 develop(intx, BinarySwitchThreshold, 5, \ 3259 "Minimal number of lookupswitch entries for rewriting to binary " \ 3260 "switch") \ |