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