4141 "that are annotated with the @HotSpotIntrinsicCandidate " \
4142 "annotation, and that " \
4143 "(3) no orphan methods exist for class C (i.e., methods for " \
4144 "which the VM declares an intrinsic but that are not declared "\
4145 "in the loaded class C. " \
4146 "Check (3) is available only in debug builds.") \
4147 \
4148 diagnostic_pd(intx, InitArrayShortSize, \
4149 "Threshold small size (in bytes) for clearing arrays. " \
4150 "Anything this size or smaller may get converted to discrete " \
4151 "scalar stores.") \
4152 range(0, max_intx) \
4153 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4154 \
4155 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4156 "Disable backwards compatibility for compile commands.") \
4157 \
4158 diagnostic(bool, CompilerDirectivesPrint, false, \
4159 "Print compiler directives on installation.") \
4160 diagnostic(int, CompilerDirectivesLimit, 50, \
4161 "Limit on number of compiler directives.")
4162
4163
4164 /*
4165 * Macros for factoring of globals
4166 */
4167
4168 // Interface macros
4169 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4170 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4171 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4172 #define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc) extern "C" type name;
4173 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4174 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4175 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
4176 #ifdef PRODUCT
4177 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
4178 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
4179 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value;
4180 #else
4181 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
|
4141 "that are annotated with the @HotSpotIntrinsicCandidate " \
4142 "annotation, and that " \
4143 "(3) no orphan methods exist for class C (i.e., methods for " \
4144 "which the VM declares an intrinsic but that are not declared "\
4145 "in the loaded class C. " \
4146 "Check (3) is available only in debug builds.") \
4147 \
4148 diagnostic_pd(intx, InitArrayShortSize, \
4149 "Threshold small size (in bytes) for clearing arrays. " \
4150 "Anything this size or smaller may get converted to discrete " \
4151 "scalar stores.") \
4152 range(0, max_intx) \
4153 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4154 \
4155 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4156 "Disable backwards compatibility for compile commands.") \
4157 \
4158 diagnostic(bool, CompilerDirectivesPrint, false, \
4159 "Print compiler directives on installation.") \
4160 diagnostic(int, CompilerDirectivesLimit, 50, \
4161 "Limit on number of compiler directives.") \
4162 \
4163 product(ccstr, HeapDir, NULL, \
4164 "Path to the directoy where a temporary file will be created \
4165 to use as the backing store for Java Heap.")
4166
4167
4168 /*
4169 * Macros for factoring of globals
4170 */
4171
4172 // Interface macros
4173 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4174 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4175 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4176 #define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc) extern "C" type name;
4177 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4178 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4179 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
4180 #ifdef PRODUCT
4181 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
4182 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
4183 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value;
4184 #else
4185 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
|