src/hotspot/share/jvmci/jvmci_globals.hpp
changeset 54982 b18c8301b8c2
parent 54732 2d012a75d35c
child 58821 5ec8aeda451e
equal deleted inserted replaced
54981:0b56fc0448ec 54982:b18c8301b8c2
    23  */
    23  */
    24 
    24 
    25 #ifndef SHARE_JVMCI_JVMCI_GLOBALS_HPP
    25 #ifndef SHARE_JVMCI_JVMCI_GLOBALS_HPP
    26 #define SHARE_JVMCI_JVMCI_GLOBALS_HPP
    26 #define SHARE_JVMCI_JVMCI_GLOBALS_HPP
    27 
    27 
    28 #include "utilities/ostream.hpp"
    28 class fileStream;
    29 
    29 
    30 //
    30 //
    31 // Defines all global flags used by the JVMCI compiler. Only flags that need
    31 // Defines all global flags used by the JVMCI compiler. Only flags that need
    32 // to be accessible to the JVMCI C++ code should be defined here.
    32 // to be accessible to the JVMCI C++ code should be defined here.
    33 //
    33 //
   127           "Enables intrinsification of BigInteger.montgomeryMultiply()"))   \
   127           "Enables intrinsification of BigInteger.montgomeryMultiply()"))   \
   128                                                                             \
   128                                                                             \
   129   NOT_COMPILER2(diagnostic(bool, UseMontgomerySquareIntrinsic, false,       \
   129   NOT_COMPILER2(diagnostic(bool, UseMontgomerySquareIntrinsic, false,       \
   130           "Enables intrinsification of BigInteger.montgomerySquare()"))
   130           "Enables intrinsification of BigInteger.montgomerySquare()"))
   131 
   131 
   132 
       
   133 // Read default values for JVMCI globals
       
   134 
       
   135 JVMCI_FLAGS(DECLARE_DEVELOPER_FLAG, \
       
   136             DECLARE_PD_DEVELOPER_FLAG, \
       
   137             DECLARE_PRODUCT_FLAG, \
       
   138             DECLARE_PD_PRODUCT_FLAG, \
       
   139             DECLARE_DIAGNOSTIC_FLAG, \
       
   140             DECLARE_PD_DIAGNOSTIC_FLAG, \
       
   141             DECLARE_EXPERIMENTAL_FLAG, \
       
   142             DECLARE_NOTPRODUCT_FLAG, \
       
   143             IGNORE_RANGE, \
       
   144             IGNORE_CONSTRAINT, \
       
   145             IGNORE_WRITEABLE)
       
   146 
       
   147 // The base name for the shared library containing the JVMCI based compiler
   132 // The base name for the shared library containing the JVMCI based compiler
   148 #define JVMCI_SHARED_LIBRARY_NAME "jvmcicompiler"
   133 #define JVMCI_SHARED_LIBRARY_NAME "jvmcicompiler"
   149 
   134 
   150 class JVMCIGlobals {
   135 class JVMCIGlobals {
   151  private:
   136  private: