169 define_pd_global(bool, UseTLAB, false); 170 define_pd_global(bool, CICompileOSR, false); 171 define_pd_global(bool, UseTypeProfile, false); 172 define_pd_global(bool, UseOnStackReplacement, false); 173 define_pd_global(bool, InlineIntrinsics, false); 174 define_pd_global(bool, PreferInterpreterNativeStubs, true); 175 define_pd_global(bool, ProfileInterpreter, false); 176 define_pd_global(bool, ProfileTraps, false); 177 define_pd_global(bool, TieredCompilation, false); 178 179 define_pd_global(intx, CompileThreshold, 0); 180 181 define_pd_global(intx, OnStackReplacePercentage, 0); 182 define_pd_global(bool, ResizeTLAB, false); 183 define_pd_global(intx, FreqInlineSize, 0); 184 define_pd_global(intx, NewSizeThreadIncrease, 4*K); 185 define_pd_global(intx, InlineClassNatives, true); 186 define_pd_global(intx, InlineUnsafeOps, true); 187 define_pd_global(intx, InitialCodeCacheSize, 160*K); 188 define_pd_global(intx, ReservedCodeCacheSize, 32*M); 189 define_pd_global(intx, CodeCacheExpansionSize, 32*K); 190 define_pd_global(intx, CodeCacheMinBlockLength, 1); 191 define_pd_global(intx, CodeCacheMinimumUseSpace, 200*K); 192 define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(4*M)); 193 define_pd_global(bool, NeverActAsServerClassMachine, true); 194 define_pd_global(uint64_t,MaxRAM, 1ULL*G); 195 #define CI_COMPILER_COUNT 0 196 #else 197 198 #ifdef COMPILER2 199 #define CI_COMPILER_COUNT 2 200 #else 201 #define CI_COMPILER_COUNT 1 202 #endif // COMPILER2 203 204 #endif // no compilers 205 206 // string type aliases used only in this file 207 typedef const char* ccstr; 208 typedef const char* ccstrlist; // represents string arguments which accumulate 3337 "disable this feature") \ 3338 \ 3339 /* code cache parameters */ \ 3340 /* ppc64/tiered compilation has large code-entry alignment. */ \ 3341 develop(uintx, CodeCacheSegmentSize, 64 PPC64_ONLY(+64) NOT_PPC64(TIERED_ONLY(+64)),\ 3342 "Code cache segment size (in bytes) - smallest unit of " \ 3343 "allocation") \ 3344 \ 3345 develop_pd(intx, CodeEntryAlignment, \ 3346 "Code entry alignment for generated code (in bytes)") \ 3347 \ 3348 product_pd(intx, OptoLoopAlignment, \ 3349 "Align inner loops to zero relative to this modulus") \ 3350 \ 3351 product_pd(uintx, InitialCodeCacheSize, \ 3352 "Initial code cache size (in bytes)") \ 3353 \ 3354 develop_pd(uintx, CodeCacheMinimumUseSpace, \ 3355 "Minimum code cache size (in bytes) required to start VM.") \ 3356 \ 3357 product_pd(uintx, ReservedCodeCacheSize, \ 3358 "Reserved code cache size (in bytes) - maximum code cache size") \ 3359 \ 3360 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ 3361 "When less than X space left, we stop compiling") \ 3362 \ 3363 product_pd(uintx, CodeCacheExpansionSize, \ 3364 "Code cache expansion size (in bytes)") \ 3365 \ 3366 develop_pd(uintx, CodeCacheMinBlockLength, \ 3367 "Minimum number of segments in a code cache block") \ 3368 \ 3369 notproduct(bool, ExitOnFullCodeCache, false, \ 3370 "Exit the VM if we fill the code cache") \ 3371 \ 3372 product(bool, UseCodeCacheFlushing, true, \ 3373 "Remove cold/old nmethods from the code cache") \ 3374 \ 3375 /* interpreter debugging */ \ 3376 develop(intx, BinarySwitchThreshold, 5, \ 3377 "Minimal number of lookupswitch entries for rewriting to binary " \ 3378 "switch") \ | 169 define_pd_global(bool, UseTLAB, false); 170 define_pd_global(bool, CICompileOSR, false); 171 define_pd_global(bool, UseTypeProfile, false); 172 define_pd_global(bool, UseOnStackReplacement, false); 173 define_pd_global(bool, InlineIntrinsics, false); 174 define_pd_global(bool, PreferInterpreterNativeStubs, true); 175 define_pd_global(bool, ProfileInterpreter, false); 176 define_pd_global(bool, ProfileTraps, false); 177 define_pd_global(bool, TieredCompilation, false); 178 179 define_pd_global(intx, CompileThreshold, 0); 180 181 define_pd_global(intx, OnStackReplacePercentage, 0); 182 define_pd_global(bool, ResizeTLAB, false); 183 define_pd_global(intx, FreqInlineSize, 0); 184 define_pd_global(intx, NewSizeThreadIncrease, 4*K); 185 define_pd_global(intx, InlineClassNatives, true); 186 define_pd_global(intx, InlineUnsafeOps, true); 187 define_pd_global(intx, InitialCodeCacheSize, 160*K); 188 define_pd_global(intx, ReservedCodeCacheSize, 32*M); 189 define_pd_global(intx, NonProfiledCodeHeapSize, 0); 190 define_pd_global(intx, ProfiledCodeHeapSize, 0); 191 define_pd_global(intx, NonMethodCodeHeapSize, 32*M); 192 193 define_pd_global(intx, CodeCacheExpansionSize, 32*K); 194 define_pd_global(intx, CodeCacheMinBlockLength, 1); 195 define_pd_global(intx, CodeCacheMinimumUseSpace, 200*K); 196 define_pd_global(uintx,MetaspaceSize, ScaleForWordSize(4*M)); 197 define_pd_global(bool, NeverActAsServerClassMachine, true); 198 define_pd_global(uint64_t,MaxRAM, 1ULL*G); 199 #define CI_COMPILER_COUNT 0 200 #else 201 202 #ifdef COMPILER2 203 #define CI_COMPILER_COUNT 2 204 #else 205 #define CI_COMPILER_COUNT 1 206 #endif // COMPILER2 207 208 #endif // no compilers 209 210 // string type aliases used only in this file 211 typedef const char* ccstr; 212 typedef const char* ccstrlist; // represents string arguments which accumulate 3341 "disable this feature") \ 3342 \ 3343 /* code cache parameters */ \ 3344 /* ppc64/tiered compilation has large code-entry alignment. */ \ 3345 develop(uintx, CodeCacheSegmentSize, 64 PPC64_ONLY(+64) NOT_PPC64(TIERED_ONLY(+64)),\ 3346 "Code cache segment size (in bytes) - smallest unit of " \ 3347 "allocation") \ 3348 \ 3349 develop_pd(intx, CodeEntryAlignment, \ 3350 "Code entry alignment for generated code (in bytes)") \ 3351 \ 3352 product_pd(intx, OptoLoopAlignment, \ 3353 "Align inner loops to zero relative to this modulus") \ 3354 \ 3355 product_pd(uintx, InitialCodeCacheSize, \ 3356 "Initial code cache size (in bytes)") \ 3357 \ 3358 develop_pd(uintx, CodeCacheMinimumUseSpace, \ 3359 "Minimum code cache size (in bytes) required to start VM.") \ 3360 \ 3361 product(bool, SegmentedCodeCache, false, \ 3362 "Use a segmented code cache") \ 3363 \ 3364 product_pd(uintx, ReservedCodeCacheSize, \ 3365 "Reserved code cache size (in bytes) - maximum code cache size") \ 3366 \ 3367 product_pd(uintx, NonProfiledCodeHeapSize, \ 3368 "Size of code heap with non-profiled methods (in bytes)") \ 3369 \ 3370 product_pd(uintx, ProfiledCodeHeapSize, \ 3371 "Size of code heap with profiled methods (in bytes)") \ 3372 \ 3373 product_pd(uintx, NonMethodCodeHeapSize, \ 3374 "Size of code heap with non-methods (in bytes)") \ 3375 \ 3376 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ 3377 "When less than X space left, we stop compiling") \ 3378 \ 3379 product_pd(uintx, CodeCacheExpansionSize, \ 3380 "Code cache expansion size (in bytes)") \ 3381 \ 3382 develop_pd(uintx, CodeCacheMinBlockLength, \ 3383 "Minimum number of segments in a code cache block") \ 3384 \ 3385 notproduct(bool, ExitOnFullCodeCache, false, \ 3386 "Exit the VM if we fill the code cache") \ 3387 \ 3388 product(bool, UseCodeCacheFlushing, true, \ 3389 "Remove cold/old nmethods from the code cache") \ 3390 \ 3391 /* interpreter debugging */ \ 3392 develop(intx, BinarySwitchThreshold, 5, \ 3393 "Minimal number of lookupswitch entries for rewriting to binary " \ 3394 "switch") \ |