< prev index next >

src/hotspot/share/jvmci/jvmci_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  *


  25 #ifndef SHARE_JVMCI_JVMCI_GLOBALS_HPP
  26 #define SHARE_JVMCI_JVMCI_GLOBALS_HPP
  27 
  28 #include "runtime/flags/jvmFlag.hpp"
  29 
  30 class fileStream;
  31 
  32 //
  33 // Defines all global flags used by the JVMCI compiler. Only flags that need
  34 // to be accessible to the JVMCI C++ code should be defined here.
  35 //
  36 #define JVMCI_FLAGS(develop, \
  37                     develop_pd, \
  38                     product, \
  39                     product_pd, \
  40                     diagnostic, \
  41                     diagnostic_pd, \
  42                     experimental, \
  43                     notproduct, \
  44                     range, \
  45                     constraint, \
  46                     writeable) \
  47                                                                             \
  48   experimental(bool, EnableJVMCI, false,                                    \
  49           "Enable JVMCI")                                                   \
  50                                                                             \
  51   experimental(bool, EnableJVMCIProduct, false,                             \
  52           "Allow JVMCI to be used in product mode. This alters a subset of "\
  53           "JVMCI flags to be non-experimental, defaults UseJVMCICompiler "  \
  54           "and EnableJVMCI to true and defaults UseJVMCINativeLibrary "     \
  55           "to true if a JVMCI native library is available.")                \
  56                                                                             \
  57   experimental(bool, UseJVMCICompiler, false,                               \
  58           "Use JVMCI as the default compiler. Defaults to true if "         \
  59           "EnableJVMCIProduct is true.")                                    \
  60                                                                             \
  61   experimental(bool, JVMCIPrintProperties, false,                           \
  62           "Prints properties used by the JVMCI compiler and exits")         \
  63                                                                             \
  64   experimental(bool, BootstrapJVMCI, false,                                 \
  65           "Bootstrap JVMCI before running Java main method. This "          \
  66           "initializes the compile queue with a small set of methods "      \


   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  *


  25 #ifndef SHARE_JVMCI_JVMCI_GLOBALS_HPP
  26 #define SHARE_JVMCI_JVMCI_GLOBALS_HPP
  27 
  28 #include "runtime/flags/jvmFlag.hpp"
  29 
  30 class fileStream;
  31 
  32 //
  33 // Defines all global flags used by the JVMCI compiler. Only flags that need
  34 // to be accessible to the JVMCI C++ code should be defined here.
  35 //
  36 #define JVMCI_FLAGS(develop, \
  37                     develop_pd, \
  38                     product, \
  39                     product_pd, \
  40                     diagnostic, \
  41                     diagnostic_pd, \
  42                     experimental, \
  43                     notproduct, \
  44                     range, \
  45                     constraint) \

  46                                                                             \
  47   experimental(bool, EnableJVMCI, false,                                    \
  48           "Enable JVMCI")                                                   \
  49                                                                             \
  50   experimental(bool, EnableJVMCIProduct, false,                             \
  51           "Allow JVMCI to be used in product mode. This alters a subset of "\
  52           "JVMCI flags to be non-experimental, defaults UseJVMCICompiler "  \
  53           "and EnableJVMCI to true and defaults UseJVMCINativeLibrary "     \
  54           "to true if a JVMCI native library is available.")                \
  55                                                                             \
  56   experimental(bool, UseJVMCICompiler, false,                               \
  57           "Use JVMCI as the default compiler. Defaults to true if "         \
  58           "EnableJVMCIProduct is true.")                                    \
  59                                                                             \
  60   experimental(bool, JVMCIPrintProperties, false,                           \
  61           "Prints properties used by the JVMCI compiler and exits")         \
  62                                                                             \
  63   experimental(bool, BootstrapJVMCI, false,                                 \
  64           "Bootstrap JVMCI before running Java main method. This "          \
  65           "initializes the compile queue with a small set of methods "      \


< prev index next >