< prev index next >

src/hotspot/share/opto/c2_globals.hpp

Print this page
   1 /*
   2  * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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  *


  27 
  28 #include "runtime/globals_shared.hpp"
  29 #include "utilities/macros.hpp"
  30 
  31 #include CPU_HEADER(c2_globals)
  32 #include OS_HEADER(c2_globals)
  33 
  34 //
  35 // Defines all globals flags used by the server compiler.
  36 //
  37 
  38 #define C2_FLAGS(develop, \
  39                  develop_pd, \
  40                  product, \
  41                  product_pd, \
  42                  diagnostic, \
  43                  diagnostic_pd, \
  44                  experimental, \
  45                  notproduct, \
  46                  range, \
  47                  constraint, \
  48                  writeable) \
  49                                                                             \
  50   diagnostic(bool, StressLCM, false,                                        \
  51           "Randomize instruction scheduling in LCM")                        \
  52                                                                             \
  53   diagnostic(bool, StressGCM, false,                                        \
  54           "Randomize instruction scheduling in GCM")                        \
  55                                                                             \
  56   develop(bool, StressMethodHandleLinkerInlining, false,                    \
  57           "Stress inlining through method handle linkers")                  \
  58                                                                             \
  59   develop(intx, OptoPrologueNops, 0,                                        \
  60           "Insert this many extra nop instructions "                        \
  61           "in the prologue of every nmethod")                               \
  62           range(0, 128)                                                     \
  63                                                                             \
  64   product_pd(intx, InteriorEntryAlignment,                                  \
  65           "Code alignment for interior entry points "                       \
  66           "in generated code (in bytes)")                                   \
  67           constraint(InteriorEntryAlignmentConstraintFunc, AfterErgo)       \
  68                                                                             \


   1 /*
   2  * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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  *


  27 
  28 #include "runtime/globals_shared.hpp"
  29 #include "utilities/macros.hpp"
  30 
  31 #include CPU_HEADER(c2_globals)
  32 #include OS_HEADER(c2_globals)
  33 
  34 //
  35 // Defines all globals flags used by the server compiler.
  36 //
  37 
  38 #define C2_FLAGS(develop, \
  39                  develop_pd, \
  40                  product, \
  41                  product_pd, \
  42                  diagnostic, \
  43                  diagnostic_pd, \
  44                  experimental, \
  45                  notproduct, \
  46                  range, \
  47                  constraint) \

  48                                                                             \
  49   diagnostic(bool, StressLCM, false,                                        \
  50           "Randomize instruction scheduling in LCM")                        \
  51                                                                             \
  52   diagnostic(bool, StressGCM, false,                                        \
  53           "Randomize instruction scheduling in GCM")                        \
  54                                                                             \
  55   develop(bool, StressMethodHandleLinkerInlining, false,                    \
  56           "Stress inlining through method handle linkers")                  \
  57                                                                             \
  58   develop(intx, OptoPrologueNops, 0,                                        \
  59           "Insert this many extra nop instructions "                        \
  60           "in the prologue of every nmethod")                               \
  61           range(0, 128)                                                     \
  62                                                                             \
  63   product_pd(intx, InteriorEntryAlignment,                                  \
  64           "Code alignment for interior entry points "                       \
  65           "in generated code (in bytes)")                                   \
  66           constraint(InteriorEntryAlignmentConstraintFunc, AfterErgo)       \
  67                                                                             \


< prev index next >