src/share/vm/c1/c1_globals.hpp

Print this page
rev 2893 : 7121756: Improve C1 inlining policy by using profiling at call sites
Summary: profile based recompilation of methods with C1 with more inlining.
Reviewed-by:


 312           "Profile virtual calls when generating code for updating MDOs")   \
 313                                                                             \
 314   product(bool, C1ProfileInlinedCalls, true,                                \
 315           "Profile inlined calls when generating code for updating MDOs")   \
 316                                                                             \
 317   product(bool, C1ProfileBranches, true,                                    \
 318           "Profile branches when generating code for updating MDOs")        \
 319                                                                             \
 320   product(bool, C1ProfileCheckcasts, true,                                  \
 321           "Profile checkcasts when generating code for updating MDOs")      \
 322                                                                             \
 323   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
 324           "Use CHA and exact type results at call sites when updating MDOs")\
 325                                                                             \
 326   product(bool, C1UpdateMethodData, trueInTiered,                           \
 327           "Update methodDataOops in Tier1-generated code")                  \
 328                                                                             \
 329   develop(bool, PrintCFGToFile, false,                                      \
 330           "print control flow graph to a separate file during compilation") \
 331                                                                             \





















 332 
 333 
 334 // Read default values for c1 globals
 335 
 336 C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_NOTPRODUCT_FLAG)
 337 
 338 #endif // SHARE_VM_C1_C1_GLOBALS_HPP


 312           "Profile virtual calls when generating code for updating MDOs")   \
 313                                                                             \
 314   product(bool, C1ProfileInlinedCalls, true,                                \
 315           "Profile inlined calls when generating code for updating MDOs")   \
 316                                                                             \
 317   product(bool, C1ProfileBranches, true,                                    \
 318           "Profile branches when generating code for updating MDOs")        \
 319                                                                             \
 320   product(bool, C1ProfileCheckcasts, true,                                  \
 321           "Profile checkcasts when generating code for updating MDOs")      \
 322                                                                             \
 323   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
 324           "Use CHA and exact type results at call sites when updating MDOs")\
 325                                                                             \
 326   product(bool, C1UpdateMethodData, trueInTiered,                           \
 327           "Update methodDataOops in Tier1-generated code")                  \
 328                                                                             \
 329   develop(bool, PrintCFGToFile, false,                                      \
 330           "print control flow graph to a separate file during compilation") \
 331                                                                             \
 332   product(bool, C1ProfileInlining, true,                                    \
 333           "Inline large methods when frequently called")                    \
 334                                                                             \
 335   develop(bool, TraceC1ProfileInlining, false,                              \
 336           "Trace inlining of large frequently called methods")              \
 337                                                                             \
 338   product(bool, C1TypeProfileInlining, true,                                \
 339           "type profile based inlining")                                    \
 340                                                                             \
 341   product_pd(intx, C1ProfileHotFrequency,                                   \
 342           "call count per second for hot call sites")                       \
 343                                                                             \
 344   product_pd(intx, C1ProfileWarmFrequency,                                  \
 345           "call count per second for warm call sites")                      \
 346                                                                             \
 347   product(intx, C1ProfileCompileThreshold, 10000,                           \
 348           "threshold at which recompilation is triggered")                  \
 349                                                                             \
 350   product(intx, C1ProfileInlineSize, 200,                                   \
 351           "maximum bytecode size of a method to be inlined")                \
 352 
 353 
 354 
 355 // Read default values for c1 globals
 356 
 357 C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_NOTPRODUCT_FLAG)
 358 
 359 #endif // SHARE_VM_C1_C1_GLOBALS_HPP