< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page




4048              "that are annotated with the @HotSpotIntrinsicCandidate "      \
4049              "annotation, and that "                                        \
4050              "(3) no orphan methods exist for class C (i.e., methods for "  \
4051              "which the VM declares an intrinsic but that are not declared "\
4052              "in the loaded class C. "                                      \
4053              "Check (3) is available only in debug builds.")                \
4054                                                                             \
4055   diagnostic_pd(intx, InitArrayShortSize,                                   \
4056           "Threshold small size (in bytes) for clearing arrays. "           \
4057           "Anything this size or smaller may get converted to discrete "    \
4058           "scalar stores.")                                                 \
4059           range(0, max_intx)                                                \
4060           constraint(InitArrayShortSizeConstraintFunc, AfterErgo)           \
4061                                                                             \
4062   diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false,          \
4063              "Disable backwards compatibility for compile commands.")       \
4064                                                                             \
4065   diagnostic(bool, CompilerDirectivesPrint, false,                          \
4066              "Print compiler directives on installation.")                  \
4067   diagnostic(int,  CompilerDirectivesLimit, 50,                             \
4068              "Limit on number of compiler directives.")




4069 
4070 
4071 /*
4072  *  Macros for factoring of globals
4073  */
4074 
4075 // Interface macros
4076 #define DECLARE_PRODUCT_FLAG(type, name, value, doc)      extern "C" type name;
4077 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc)          extern "C" type name;
4078 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc)   extern "C" type name;
4079 #define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc)       extern "C" type name;
4080 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4081 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc)   extern "C" type name;
4082 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc)   extern "C" type name;
4083 #ifdef PRODUCT
4084 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc)    const type name = value;
4085 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc)        const type name = pd_##name;
4086 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc)   const type name = value;
4087 #else
4088 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc)    extern "C" type name;




4048              "that are annotated with the @HotSpotIntrinsicCandidate "      \
4049              "annotation, and that "                                        \
4050              "(3) no orphan methods exist for class C (i.e., methods for "  \
4051              "which the VM declares an intrinsic but that are not declared "\
4052              "in the loaded class C. "                                      \
4053              "Check (3) is available only in debug builds.")                \
4054                                                                             \
4055   diagnostic_pd(intx, InitArrayShortSize,                                   \
4056           "Threshold small size (in bytes) for clearing arrays. "           \
4057           "Anything this size or smaller may get converted to discrete "    \
4058           "scalar stores.")                                                 \
4059           range(0, max_intx)                                                \
4060           constraint(InitArrayShortSizeConstraintFunc, AfterErgo)           \
4061                                                                             \
4062   diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false,          \
4063              "Disable backwards compatibility for compile commands.")       \
4064                                                                             \
4065   diagnostic(bool, CompilerDirectivesPrint, false,                          \
4066              "Print compiler directives on installation.")                  \
4067   diagnostic(int,  CompilerDirectivesLimit, 50,                             \
4068              "Limit on number of compiler directives.")                     \
4069                                                                             \
4070   product(ccstr, AllocateHeapAt, NULL,                                      \
4071           "Path to the directoy where a temporary file will be created "    \
4072           "to use as the backing store for Java Heap.")
4073 
4074 
4075 /*
4076  *  Macros for factoring of globals
4077  */
4078 
4079 // Interface macros
4080 #define DECLARE_PRODUCT_FLAG(type, name, value, doc)      extern "C" type name;
4081 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc)          extern "C" type name;
4082 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc)   extern "C" type name;
4083 #define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc)       extern "C" type name;
4084 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4085 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc)   extern "C" type name;
4086 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc)   extern "C" type name;
4087 #ifdef PRODUCT
4088 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc)    const type name = value;
4089 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc)        const type name = pd_##name;
4090 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc)   const type name = value;
4091 #else
4092 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc)    extern "C" type name;


< prev index next >