src/share/vm/runtime/globals.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File JDK-8015774 Sdiff src/share/vm/runtime

src/share/vm/runtime/globals.hpp

Print this page




 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, NonProfiledCodeHeapSize,      19*M);
 177 define_pd_global(intx, ProfiledCodeHeapSize,         9*M );
 178 define_pd_global(intx, NonMethodCodeHeapSize,        4*M );
 179 
 180 define_pd_global(intx, CodeCacheExpansionSize,       32*K);
 181 define_pd_global(intx, CodeCacheMinBlockLength,      1);
 182 define_pd_global(intx, CodeCacheMinimumUseSpace,     200*K);
 183 define_pd_global(uintx,MetaspaceSize,    ScaleForWordSize(4*M));
 184 define_pd_global(bool, NeverActAsServerClassMachine, true);
 185 define_pd_global(uint64_t,MaxRAM,                    1ULL*G);
 186 #define CI_COMPILER_COUNT 0
 187 #else
 188 
 189 #ifdef COMPILER2
 190 #define CI_COMPILER_COUNT 2
 191 #else
 192 #define CI_COMPILER_COUNT 1
 193 #endif // COMPILER2
 194 
 195 #endif // no compilers
 196 
 197 // string type aliases used only in this file
 198 typedef const char* ccstr;
 199 typedef const char* ccstrlist;   // represents string arguments which accumulate


3217                                                                             \
3218   /* code cache parameters */                                               \
3219   develop(uintx, CodeCacheSegmentSize, 64,                                  \
3220           "Code cache segment size (in bytes) - smallest unit of "          \
3221           "allocation")                                                     \
3222                                                                             \
3223   develop_pd(intx, CodeEntryAlignment,                                      \
3224           "Code entry alignment for generated code (in bytes)")             \
3225                                                                             \
3226   product_pd(intx, OptoLoopAlignment,                                       \
3227           "Align inner loops to zero relative to this modulus")             \
3228                                                                             \
3229   product_pd(uintx, InitialCodeCacheSize,                                   \
3230           "Initial code cache size (in bytes)")                             \
3231                                                                             \
3232   develop_pd(uintx, CodeCacheMinimumUseSpace,                               \
3233           "Minimum code cache size (in bytes) required to start VM.")       \
3234                                                                             \
3235   product_pd(uintx, ReservedCodeCacheSize,                                  \
3236           "Reserved code cache size (in bytes) - maximum code cache size")  \
3237                                                                             \
3238   product_pd(uintx, NonProfiledCodeHeapSize,                                \
3239           "Size of code heap with non-profiled methods (in bytes)")         \
3240                                                                             \
3241   product_pd(uintx, ProfiledCodeHeapSize,                                   \
3242           "Size of code heap with profiled methods (in bytes)")             \
3243                                                                             \
3244   product_pd(uintx, NonMethodCodeHeapSize,                                  \
3245           "Size of code heap with non-methods (in bytes)")                  \
3246                                                                             \
3247   product(uintx, CodeCacheMinimumFreeSpace, 500*K,                          \
3248           "When less than X space left, we stop compiling.")                \
3249                                                                             \
3250   product_pd(uintx, CodeCacheExpansionSize,                                 \
3251           "Code cache expansion size (in bytes)")                           \
3252                                                                             \
3253   develop_pd(uintx, CodeCacheMinBlockLength,                                \
3254           "Minimum number of segments in a code cache block.")              \
3255                                                                             \
3256   notproduct(bool, ExitOnFullCodeCache, false,                              \
3257           "Exit the VM if we fill the code cache.")                         \
3258                                                                             \
3259   product(bool, UseCodeCacheFlushing, true,                                 \
3260           "Attempt to clean the code cache before shutting off compiler")   \
3261                                                                             \
3262   /* interpreter debugging */                                               \
3263   develop(intx, BinarySwitchThreshold, 5,                                   \
3264           "Minimal number of lookupswitch entries for rewriting to binary " \
3265           "switch")                                                         \


src/share/vm/runtime/globals.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File