4112 "that are annotated with the @HotSpotIntrinsicCandidate " \
4113 "annotation, and that " \
4114 "(3) no orphan methods exist for class C (i.e., methods for " \
4115 "which the VM declares an intrinsic but that are not declared "\
4116 "in the loaded class C. " \
4117 "Check (3) is available only in debug builds.") \
4118 \
4119 develop_pd(intx, InitArrayShortSize, \
4120 "Threshold small size (in bytes) for clearing arrays. " \
4121 "Anything this size or smaller may get converted to discrete " \
4122 "scalar stores.") \
4123 range(0, max_intx) \
4124 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4125 \
4126 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4127 "Disable backwards compatibility for compile commands.") \
4128 \
4129 diagnostic(bool, CompilerDirectivesPrint, false, \
4130 "Print compiler directives on installation.") \
4131 diagnostic(int, CompilerDirectivesLimit, 50, \
4132 "Limit on number of compiler directives.")
4133
4134
4135 /*
4136 * Macros for factoring of globals
4137 */
4138
4139 // Interface macros
4140 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4141 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4142 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4143 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4144 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4145 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
4146 #ifdef PRODUCT
4147 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
4148 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
4149 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value;
4150 #else
4151 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
4152 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name;
|
4112 "that are annotated with the @HotSpotIntrinsicCandidate " \
4113 "annotation, and that " \
4114 "(3) no orphan methods exist for class C (i.e., methods for " \
4115 "which the VM declares an intrinsic but that are not declared "\
4116 "in the loaded class C. " \
4117 "Check (3) is available only in debug builds.") \
4118 \
4119 develop_pd(intx, InitArrayShortSize, \
4120 "Threshold small size (in bytes) for clearing arrays. " \
4121 "Anything this size or smaller may get converted to discrete " \
4122 "scalar stores.") \
4123 range(0, max_intx) \
4124 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4125 \
4126 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4127 "Disable backwards compatibility for compile commands.") \
4128 \
4129 diagnostic(bool, CompilerDirectivesPrint, false, \
4130 "Print compiler directives on installation.") \
4131 diagnostic(int, CompilerDirectivesLimit, 50, \
4132 "Limit on number of compiler directives.") \
4133 \
4134 product(ccstr, FSDirForHeap, NULL, \
4135 "Path to the directoy where a temporary file will be created \
4136 to use as the backing store for Java Heap ")
4137
4138
4139 /*
4140 * Macros for factoring of globals
4141 */
4142
4143 // Interface macros
4144 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4145 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4146 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4147 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4148 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4149 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
4150 #ifdef PRODUCT
4151 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
4152 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
4153 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value;
4154 #else
4155 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
4156 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name;
|