< prev index next >

src/share/vm/c1/c1_globals.hpp

Print this page
rev 11647 : 8161258: Simplify including platform files.
Summary: Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.
Reviewed-by: dholmes, coleenp, kbarrett


   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_ARCH_arm
  36 # include "c1_globals_arm.hpp"
  37 #endif
  38 #ifdef TARGET_ARCH_ppc
  39 # include "c1_globals_ppc.hpp"
  40 #endif
  41 #ifdef TARGET_ARCH_aarch64
  42 # include "c1_globals_aarch64.hpp"
  43 #endif
  44 #ifdef TARGET_OS_FAMILY_linux
  45 # include "c1_globals_linux.hpp"
  46 #endif
  47 #ifdef TARGET_OS_FAMILY_solaris
  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,                            \




   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 #include "utilities/macros.hpp"
  30 
  31 #include CPU_HEADER(c1_globals)
  32 #include OS_HEADER(c1_globals)


























  33 
  34 //
  35 // Defines all global flags used by the client compiler.
  36 //
  37 #define C1_FLAGS(develop, \
  38                  develop_pd, \
  39                  product, \
  40                  product_pd, \
  41                  diagnostic, \
  42                  diagnostic_pd, \
  43                  notproduct, \
  44                  range, \
  45                  constraint, \
  46                  writeable) \
  47                                                                             \
  48   /* Printing */                                                            \
  49   notproduct(bool, PrintC1Statistics, false,                                \
  50           "Print Compiler1 statistics" )                                    \
  51                                                                             \
  52   notproduct(bool, PrintInitialBlockList, false,                            \


< prev index next >