4027 "that are annotated with the @HotSpotIntrinsicCandidate " \
4028 "annotation, and that " \
4029 "(3) no orphan methods exist for class C (i.e., methods for " \
4030 "which the VM declares an intrinsic but that are not declared "\
4031 "in the loaded class C. " \
4032 "Check (3) is available only in debug builds.") \
4033 \
4034 diagnostic_pd(intx, InitArrayShortSize, \
4035 "Threshold small size (in bytes) for clearing arrays. " \
4036 "Anything this size or smaller may get converted to discrete " \
4037 "scalar stores.") \
4038 range(0, max_intx) \
4039 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4040 \
4041 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4042 "Disable backwards compatibility for compile commands.") \
4043 \
4044 diagnostic(bool, CompilerDirectivesPrint, false, \
4045 "Print compiler directives on installation.") \
4046 diagnostic(int, CompilerDirectivesLimit, 50, \
4047 "Limit on number of compiler directives.")
4048
4049
4050 /*
4051 * Macros for factoring of globals
4052 */
4053
4054 // Interface macros
4055 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4056 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4057 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4058 #define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc) extern "C" type name;
4059 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4060 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4061 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
4062 #ifdef PRODUCT
4063 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
4064 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
4065 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value;
4066 #else
4067 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
|
4027 "that are annotated with the @HotSpotIntrinsicCandidate " \
4028 "annotation, and that " \
4029 "(3) no orphan methods exist for class C (i.e., methods for " \
4030 "which the VM declares an intrinsic but that are not declared "\
4031 "in the loaded class C. " \
4032 "Check (3) is available only in debug builds.") \
4033 \
4034 diagnostic_pd(intx, InitArrayShortSize, \
4035 "Threshold small size (in bytes) for clearing arrays. " \
4036 "Anything this size or smaller may get converted to discrete " \
4037 "scalar stores.") \
4038 range(0, max_intx) \
4039 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4040 \
4041 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4042 "Disable backwards compatibility for compile commands.") \
4043 \
4044 diagnostic(bool, CompilerDirectivesPrint, false, \
4045 "Print compiler directives on installation.") \
4046 diagnostic(int, CompilerDirectivesLimit, 50, \
4047 "Limit on number of compiler directives.") \
4048 \
4049 product(ccstr, HeapDir, NULL, \
4050 "Path to the directoy where a temporary file will be created \
4051 to use as the backing store for Java Heap.")
4052
4053
4054 /*
4055 * Macros for factoring of globals
4056 */
4057
4058 // Interface macros
4059 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4060 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4061 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4062 #define DECLARE_PD_DIAGNOSTIC_FLAG(type, name, doc) extern "C" type name;
4063 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4064 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4065 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
4066 #ifdef PRODUCT
4067 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
4068 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
4069 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) const type name = value;
4070 #else
4071 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
|