src/share/vm/c1/c1_globals.hpp

Print this page




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 




















  25 //
  26 // Defines all global flags used by the client compiler.
  27 //
  28 #define C1_FLAGS(develop, develop_pd, product, product_pd, notproduct)      \
  29                                                                             \
  30   /* Printing */                                                            \
  31   notproduct(bool, PrintC1Statistics, false,                                \
  32           "Print Compiler1 statistics" )                                    \
  33                                                                             \
  34   notproduct(bool, PrintInitialBlockList, false,                            \
  35           "Print block list of BlockListBuilder")                           \
  36                                                                             \
  37   notproduct(bool, PrintCFG, false,                                         \
  38           "Print control flow graph after each change")                     \
  39                                                                             \
  40   notproduct(bool, PrintCFG0, false,                                        \
  41           "Print control flow graph after construction")                    \
  42                                                                             \
  43   notproduct(bool, PrintCFG1, false,                                        \
  44           "Print control flow graph after optimizations")                   \


 283           "Profile inlined calls when generating code for updating MDOs")   \
 284                                                                             \
 285   product(bool, C1ProfileBranches, true,                                    \
 286           "Profile branches when generating code for updating MDOs")        \
 287                                                                             \
 288   product(bool, C1ProfileCheckcasts, true,                                  \
 289           "Profile checkcasts when generating code for updating MDOs")      \
 290                                                                             \
 291   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
 292           "Use CHA and exact type results at call sites when updating MDOs")\
 293                                                                             \
 294   product(bool, C1UpdateMethodData, trueInTiered,                           \
 295           "Update methodDataOops in Tier1-generated code")                  \
 296                                                                             \
 297   develop(bool, PrintCFGToFile, false,                                      \
 298           "print control flow graph to a separate file during compilation") \
 299                                                                             \
 300 
 301 
 302 // Read default values for c1 globals
 303 // #include "incls/_c1_globals_pd.hpp.incl"
 304 
 305 C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_NOTPRODUCT_FLAG)




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_C1_C1_GLOBALS_HPP
  26 #define SHARE_VM_C1_C1_GLOBALS_HPP
  27 
  28 #include "runtime/globals.hpp"
  29 #ifdef TARGET_ARCH_x86
  30 # include "c1_globals_x86.hpp"
  31 #endif
  32 #ifdef TARGET_ARCH_sparc
  33 # include "c1_globals_sparc.hpp"
  34 #endif
  35 #ifdef TARGET_OS_FAMILY_linux
  36 # include "c1_globals_linux.hpp"
  37 #endif
  38 #ifdef TARGET_OS_FAMILY_solaris
  39 # include "c1_globals_solaris.hpp"
  40 #endif
  41 #ifdef TARGET_OS_FAMILY_windows
  42 # include "c1_globals_windows.hpp"
  43 #endif
  44 
  45 //
  46 // Defines all global flags used by the client compiler.
  47 //
  48 #define C1_FLAGS(develop, develop_pd, product, product_pd, notproduct)      \
  49                                                                             \
  50   /* Printing */                                                            \
  51   notproduct(bool, PrintC1Statistics, false,                                \
  52           "Print Compiler1 statistics" )                                    \
  53                                                                             \
  54   notproduct(bool, PrintInitialBlockList, false,                            \
  55           "Print block list of BlockListBuilder")                           \
  56                                                                             \
  57   notproduct(bool, PrintCFG, false,                                         \
  58           "Print control flow graph after each change")                     \
  59                                                                             \
  60   notproduct(bool, PrintCFG0, false,                                        \
  61           "Print control flow graph after construction")                    \
  62                                                                             \
  63   notproduct(bool, PrintCFG1, false,                                        \
  64           "Print control flow graph after optimizations")                   \


 303           "Profile inlined calls when generating code for updating MDOs")   \
 304                                                                             \
 305   product(bool, C1ProfileBranches, true,                                    \
 306           "Profile branches when generating code for updating MDOs")        \
 307                                                                             \
 308   product(bool, C1ProfileCheckcasts, true,                                  \
 309           "Profile checkcasts when generating code for updating MDOs")      \
 310                                                                             \
 311   product(bool, C1OptimizeVirtualCallProfiling, true,                       \
 312           "Use CHA and exact type results at call sites when updating MDOs")\
 313                                                                             \
 314   product(bool, C1UpdateMethodData, trueInTiered,                           \
 315           "Update methodDataOops in Tier1-generated code")                  \
 316                                                                             \
 317   develop(bool, PrintCFGToFile, false,                                      \
 318           "print control flow graph to a separate file during compilation") \
 319                                                                             \
 320 
 321 
 322 // Read default values for c1 globals

 323 
 324 C1_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_NOTPRODUCT_FLAG)
 325 
 326 #endif // SHARE_VM_C1_C1_GLOBALS_HPP