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

src/share/vm/runtime/globals.hpp

Print this page




 160 #endif
 161 #ifdef SHARK
 162 #ifdef TARGET_ARCH_zero
 163 # include "shark_globals_zero.hpp"
 164 #endif
 165 #endif
 166 
 167 #if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK)
 168 define_pd_global(bool, BackgroundCompilation,        false);
 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 define_pd_global(intx, BackEdgeThreshold,            0);
 181 
 182 define_pd_global(intx, OnStackReplacePercentage,     0);
 183 define_pd_global(bool, ResizeTLAB,                   false);
 184 define_pd_global(intx, FreqInlineSize,               0);
 185 define_pd_global(intx, NewSizeThreadIncrease,        4*K);
 186 define_pd_global(intx, InlineClassNatives,           true);
 187 define_pd_global(intx, InlineUnsafeOps,              true);
 188 define_pd_global(intx, InitialCodeCacheSize,         160*K);
 189 define_pd_global(intx, ReservedCodeCacheSize,        32*M);
 190 define_pd_global(intx, CodeCacheExpansionSize,       32*K);
 191 define_pd_global(intx, CodeCacheMinBlockLength,      1);
 192 define_pd_global(intx, CodeCacheMinimumUseSpace,     200*K);
 193 define_pd_global(uintx,MetaspaceSize,    ScaleForWordSize(4*M));
 194 define_pd_global(bool, NeverActAsServerClassMachine, true);
 195 define_pd_global(uint64_t,MaxRAM,                    1ULL*G);
 196 #define CI_COMPILER_COUNT 0
 197 #else
 198 
 199 #ifdef COMPILER2
 200 #define CI_COMPILER_COUNT 2


3507           "Last class to consider when using +CompileTheWorld")             \
3508                                                                             \
3509   develop(intx, NewCodeParameter,      0,                                   \
3510           "Testing Only: Create a dedicated integer parameter before "      \
3511           "putback")                                                        \
3512                                                                             \
3513   /* new oopmap storage allocation */                                       \
3514   develop(intx, MinOopMapAllocation,     8,                                 \
3515           "Minimum number of OopMap entries in an OopMapSet")               \
3516                                                                             \
3517   /* Background Compilation */                                              \
3518   develop(intx, LongCompileThreshold,     50,                               \
3519           "Used with +TraceLongCompiles")                                   \
3520                                                                             \
3521   product(intx, StarvationMonitorInterval,    200,                          \
3522           "Pause between each check (in milliseconds)")                     \
3523                                                                             \
3524   /* recompilation */                                                       \
3525   product_pd(intx, CompileThreshold,                                        \
3526           "number of interpreted method invocations before (re-)compiling") \
3527                                                                             \
3528   product_pd(intx, BackEdgeThreshold,                                       \
3529           "Interpreter Back edge threshold at which an OSR compilation is " \
3530           "invoked")                                                        \
3531                                                                             \
3532   product(intx, Tier0InvokeNotifyFreqLog, 7,                                \
3533           "Interpreter (tier 0) invocation notification frequency")         \
3534                                                                             \
3535   product(intx, Tier2InvokeNotifyFreqLog, 11,                               \
3536           "C1 without MDO (tier 2) invocation notification frequency")      \
3537                                                                             \
3538   product(intx, Tier3InvokeNotifyFreqLog, 10,                               \
3539           "C1 with MDO profiling (tier 3) invocation notification "         \
3540           "frequency")                                                      \
3541                                                                             \
3542   product(intx, Tier23InlineeNotifyFreqLog, 20,                             \
3543           "Inlinee invocation (tiers 2 and 3) notification frequency")      \
3544                                                                             \
3545   product(intx, Tier0BackedgeNotifyFreqLog, 10,                             \
3546           "Interpreter (tier 0) invocation notification frequency")         \
3547                                                                             \
3548   product(intx, Tier2BackedgeNotifyFreqLog, 14,                             \
3549           "C1 without MDO (tier 2) invocation notification frequency")      \
3550                                                                             \




 160 #endif
 161 #ifdef SHARK
 162 #ifdef TARGET_ARCH_zero
 163 # include "shark_globals_zero.hpp"
 164 #endif
 165 #endif
 166 
 167 #if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK)
 168 define_pd_global(bool, BackgroundCompilation,        false);
 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


3506           "Last class to consider when using +CompileTheWorld")             \
3507                                                                             \
3508   develop(intx, NewCodeParameter,      0,                                   \
3509           "Testing Only: Create a dedicated integer parameter before "      \
3510           "putback")                                                        \
3511                                                                             \
3512   /* new oopmap storage allocation */                                       \
3513   develop(intx, MinOopMapAllocation,     8,                                 \
3514           "Minimum number of OopMap entries in an OopMapSet")               \
3515                                                                             \
3516   /* Background Compilation */                                              \
3517   develop(intx, LongCompileThreshold,     50,                               \
3518           "Used with +TraceLongCompiles")                                   \
3519                                                                             \
3520   product(intx, StarvationMonitorInterval,    200,                          \
3521           "Pause between each check (in milliseconds)")                     \
3522                                                                             \
3523   /* recompilation */                                                       \
3524   product_pd(intx, CompileThreshold,                                        \
3525           "number of interpreted method invocations before (re-)compiling") \




3526                                                                             \
3527   product(intx, Tier0InvokeNotifyFreqLog, 7,                                \
3528           "Interpreter (tier 0) invocation notification frequency")         \
3529                                                                             \
3530   product(intx, Tier2InvokeNotifyFreqLog, 11,                               \
3531           "C1 without MDO (tier 2) invocation notification frequency")      \
3532                                                                             \
3533   product(intx, Tier3InvokeNotifyFreqLog, 10,                               \
3534           "C1 with MDO profiling (tier 3) invocation notification "         \
3535           "frequency")                                                      \
3536                                                                             \
3537   product(intx, Tier23InlineeNotifyFreqLog, 20,                             \
3538           "Inlinee invocation (tiers 2 and 3) notification frequency")      \
3539                                                                             \
3540   product(intx, Tier0BackedgeNotifyFreqLog, 10,                             \
3541           "Interpreter (tier 0) invocation notification frequency")         \
3542                                                                             \
3543   product(intx, Tier2BackedgeNotifyFreqLog, 14,                             \
3544           "C1 without MDO (tier 2) invocation notification frequency")      \
3545                                                                             \


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