hotspot/src/share/vm/c1/c1_globals.hpp
changeset 6453 970dc585ab63
parent 5547 f4b087cbb361
child 6745 a34ef8968a84
equal deleted inserted replaced
6452:cc624b341ab2 6453:970dc585ab63
    23  */
    23  */
    24 
    24 
    25 //
    25 //
    26 // Defines all global flags used by the client compiler.
    26 // Defines all global flags used by the client compiler.
    27 //
    27 //
    28 #ifndef TIERED
       
    29   #define NOT_TIERED(x) x
       
    30 #else
       
    31   #define NOT_TIERED(x)
       
    32 #endif
       
    33 
       
    34 #define C1_FLAGS(develop, develop_pd, product, product_pd, notproduct)      \
    28 #define C1_FLAGS(develop, develop_pd, product, product_pd, notproduct)      \
    35                                                                             \
    29                                                                             \
    36   /* Printing */                                                            \
    30   /* Printing */                                                            \
    37   notproduct(bool, PrintC1Statistics, false,                                \
    31   notproduct(bool, PrintC1Statistics, false,                                \
    38           "Print Compiler1 statistics" )                                    \
    32           "Print Compiler1 statistics" )                                    \
    53           "Print control flow graph before code generation")                \
    47           "Print control flow graph before code generation")                \
    54                                                                             \
    48                                                                             \
    55   notproduct(bool, PrintIRDuringConstruction, false,                        \
    49   notproduct(bool, PrintIRDuringConstruction, false,                        \
    56           "Print IR as it's being constructed (helpful for debugging frontend)")\
    50           "Print IR as it's being constructed (helpful for debugging frontend)")\
    57                                                                             \
    51                                                                             \
    58   notproduct(bool, PrintPhiFunctions, false,                                   \
    52   notproduct(bool, PrintPhiFunctions, false,                                \
    59           "Print phi functions when they are created and simplified")       \
    53           "Print phi functions when they are created and simplified")       \
    60                                                                             \
    54                                                                             \
    61   notproduct(bool, PrintIR, false,                                          \
    55   notproduct(bool, PrintIR, false,                                          \
    62           "Print full intermediate representation after each change")       \
    56           "Print full intermediate representation after each change")       \
    63                                                                             \
    57                                                                             \
   277           "If GraphBuilder adds this many instructions, bails out")         \
   271           "If GraphBuilder adds this many instructions, bails out")         \
   278                                                                             \
   272                                                                             \
   279   product_pd(intx, SafepointPollOffset,                                     \
   273   product_pd(intx, SafepointPollOffset,                                     \
   280           "Offset added to polling address (Intel only)")                   \
   274           "Offset added to polling address (Intel only)")                   \
   281                                                                             \
   275                                                                             \
   282   product(bool, UseNewFeature1, false,                                      \
       
   283           "Enable new feature for testing.  This is a dummy flag.")         \
       
   284                                                                             \
       
   285   product(bool, UseNewFeature2, false,                                      \
       
   286           "Enable new feature for testing.  This is a dummy flag.")         \
       
   287                                                                             \
       
   288   product(bool, UseNewFeature3, false,                                      \
       
   289           "Enable new feature for testing.  This is a dummy flag.")         \
       
   290                                                                             \
       
   291   product(bool, UseNewFeature4, false,                                      \
       
   292           "Enable new feature for testing.  This is a dummy flag.")         \
       
   293                                                                             \
       
   294   develop(bool, ComputeExactFPURegisterUsage, true,                         \
   276   develop(bool, ComputeExactFPURegisterUsage, true,                         \
   295           "Compute additional live set for fpu registers to simplify fpu stack merge (Intel only)") \
   277           "Compute additional live set for fpu registers to simplify fpu stack merge (Intel only)") \
   296                                                                             \
   278                                                                             \
   297   product(bool, Tier1ProfileCalls, true,                                    \
   279   product(bool, C1ProfileCalls, true,                                       \
   298           "Profile calls when generating code for updating MDOs")           \
   280           "Profile calls when generating code for updating MDOs")           \
   299                                                                             \
   281                                                                             \
   300   product(bool, Tier1ProfileVirtualCalls, true,                             \
   282   product(bool, C1ProfileVirtualCalls, true,                                \
   301           "Profile virtual calls when generating code for updating MDOs")   \
   283           "Profile virtual calls when generating code for updating MDOs")   \
   302                                                                             \
   284                                                                             \
   303   product(bool, Tier1ProfileInlinedCalls, true,                             \
   285   product(bool, C1ProfileInlinedCalls, true,                                \
   304           "Profile inlined calls when generating code for updating MDOs")   \
   286           "Profile inlined calls when generating code for updating MDOs")   \
   305                                                                             \
   287                                                                             \
   306   product(bool, Tier1ProfileBranches, true,                                 \
   288   product(bool, C1ProfileBranches, true,                                    \
   307           "Profile branches when generating code for updating MDOs")        \
   289           "Profile branches when generating code for updating MDOs")        \
   308                                                                             \
   290                                                                             \
   309   product(bool, Tier1ProfileCheckcasts, true,                               \
   291   product(bool, C1ProfileCheckcasts, true,                                  \
   310           "Profile checkcasts when generating code for updating MDOs")      \
   292           "Profile checkcasts when generating code for updating MDOs")      \
   311                                                                             \
   293                                                                             \
   312   product(bool, Tier1OptimizeVirtualCallProfiling, true,                    \
   294   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
   313           "Use CHA and exact type results at call sites when updating MDOs") \
   295           "Use CHA and exact type results at call sites when updating MDOs")\
   314                                                                             \
   296                                                                             \
   315   develop(bool, Tier1CountOnly, false,                                      \
   297   product(bool, C1UpdateMethodData, trueInTiered,                           \
   316           "Don't schedule tier 2 compiles. Enter VM only")                  \
   298           "Update methodDataOops in Tier1-generated code")                  \
   317                                                                             \
   299                                                                             \
   318   develop(bool, PrintCFGToFile, false,                                      \
   300   develop(bool, PrintCFGToFile, false,                                      \
   319           "print control flow graph to a separate file during compilation") \
   301           "print control flow graph to a separate file during compilation") \
   320                                                                             \
   302                                                                             \
   321 
   303