src/share/vm/c1/c1_globals.hpp

Print this page
rev 11264 : 8150900: Implement diagnostic_pd
Reviewed-by: twisti, gziemski, kevinw


  48 # include "c1_globals_solaris.hpp"
  49 #endif
  50 #ifdef TARGET_OS_FAMILY_windows
  51 # include "c1_globals_windows.hpp"
  52 #endif
  53 #ifdef TARGET_OS_FAMILY_aix
  54 # include "c1_globals_aix.hpp"
  55 #endif
  56 #ifdef TARGET_OS_FAMILY_bsd
  57 # include "c1_globals_bsd.hpp"
  58 #endif
  59 
  60 //
  61 // Defines all global flags used by the client compiler.
  62 //
  63 #define C1_FLAGS(develop, \
  64                  develop_pd, \
  65                  product, \
  66                  product_pd, \
  67                  diagnostic, \

  68                  notproduct, \
  69                  range, \
  70                  constraint, \
  71                  writeable) \
  72                                                                             \
  73   /* Printing */                                                            \
  74   notproduct(bool, PrintC1Statistics, false,                                \
  75           "Print Compiler1 statistics" )                                    \
  76                                                                             \
  77   notproduct(bool, PrintInitialBlockList, false,                            \
  78           "Print block list of BlockListBuilder")                           \
  79                                                                             \
  80   notproduct(bool, PrintCFG, false,                                         \
  81           "Print control flow graph after each change")                     \
  82                                                                             \
  83   notproduct(bool, PrintCFG0, false,                                        \
  84           "Print control flow graph after construction")                    \
  85                                                                             \
  86   notproduct(bool, PrintCFG1, false,                                        \
  87           "Print control flow graph after optimizations")                   \


 339                                                                             \
 340   product(bool, C1ProfileCheckcasts, true,                                  \
 341           "Profile checkcasts when generating code for updating MDOs")      \
 342                                                                             \
 343   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
 344           "Use CHA and exact type results at call sites when updating MDOs")\
 345                                                                             \
 346   product(bool, C1UpdateMethodData, trueInTiered,                           \
 347           "Update MethodData*s in Tier1-generated code")                    \
 348                                                                             \
 349   develop(bool, PrintCFGToFile, false,                                      \
 350           "print control flow graph to a separate file during compilation") \
 351                                                                             \
 352 // Read default values for c1 globals
 353 
 354 C1_FLAGS(DECLARE_DEVELOPER_FLAG, \
 355          DECLARE_PD_DEVELOPER_FLAG, \
 356          DECLARE_PRODUCT_FLAG, \
 357          DECLARE_PD_PRODUCT_FLAG, \
 358          DECLARE_DIAGNOSTIC_FLAG, \

 359          DECLARE_NOTPRODUCT_FLAG, \
 360          IGNORE_RANGE, \
 361          IGNORE_CONSTRAINT, \
 362          IGNORE_WRITEABLE)
 363 
 364 #endif // SHARE_VM_C1_C1_GLOBALS_HPP


  48 # include "c1_globals_solaris.hpp"
  49 #endif
  50 #ifdef TARGET_OS_FAMILY_windows
  51 # include "c1_globals_windows.hpp"
  52 #endif
  53 #ifdef TARGET_OS_FAMILY_aix
  54 # include "c1_globals_aix.hpp"
  55 #endif
  56 #ifdef TARGET_OS_FAMILY_bsd
  57 # include "c1_globals_bsd.hpp"
  58 #endif
  59 
  60 //
  61 // Defines all global flags used by the client compiler.
  62 //
  63 #define C1_FLAGS(develop, \
  64                  develop_pd, \
  65                  product, \
  66                  product_pd, \
  67                  diagnostic, \
  68                  diagnostic_pd, \
  69                  notproduct, \
  70                  range, \
  71                  constraint, \
  72                  writeable) \
  73                                                                             \
  74   /* Printing */                                                            \
  75   notproduct(bool, PrintC1Statistics, false,                                \
  76           "Print Compiler1 statistics" )                                    \
  77                                                                             \
  78   notproduct(bool, PrintInitialBlockList, false,                            \
  79           "Print block list of BlockListBuilder")                           \
  80                                                                             \
  81   notproduct(bool, PrintCFG, false,                                         \
  82           "Print control flow graph after each change")                     \
  83                                                                             \
  84   notproduct(bool, PrintCFG0, false,                                        \
  85           "Print control flow graph after construction")                    \
  86                                                                             \
  87   notproduct(bool, PrintCFG1, false,                                        \
  88           "Print control flow graph after optimizations")                   \


 340                                                                             \
 341   product(bool, C1ProfileCheckcasts, true,                                  \
 342           "Profile checkcasts when generating code for updating MDOs")      \
 343                                                                             \
 344   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
 345           "Use CHA and exact type results at call sites when updating MDOs")\
 346                                                                             \
 347   product(bool, C1UpdateMethodData, trueInTiered,                           \
 348           "Update MethodData*s in Tier1-generated code")                    \
 349                                                                             \
 350   develop(bool, PrintCFGToFile, false,                                      \
 351           "print control flow graph to a separate file during compilation") \
 352                                                                             \
 353 // Read default values for c1 globals
 354 
 355 C1_FLAGS(DECLARE_DEVELOPER_FLAG, \
 356          DECLARE_PD_DEVELOPER_FLAG, \
 357          DECLARE_PRODUCT_FLAG, \
 358          DECLARE_PD_PRODUCT_FLAG, \
 359          DECLARE_DIAGNOSTIC_FLAG, \
 360          DECLARE_PD_DIAGNOSTIC_FLAG, \
 361          DECLARE_NOTPRODUCT_FLAG, \
 362          IGNORE_RANGE, \
 363          IGNORE_CONSTRAINT, \
 364          IGNORE_WRITEABLE)
 365 
 366 #endif // SHARE_VM_C1_C1_GLOBALS_HPP