4105 diagnostic(bool, UseUnalignedAccesses, false, \
4106 "Use unaligned memory accesses in Unsafe") \
4107 \
4108 product_pd(bool, PreserveFramePointer, \
4109 "Use the FP register for holding the frame pointer " \
4110 "and not as a general purpose register.") \
4111 \
4112 diagnostic(bool, CheckIntrinsics, true, \
4113 "When a class C is loaded, check that " \
4114 "(1) all intrinsics defined by the VM for class C are present "\
4115 "in the loaded class file and are marked with the " \
4116 "@HotSpotIntrinsicCandidate annotation, that " \
4117 "(2) there is an intrinsic registered for all loaded methods " \
4118 "that are annotated with the @HotSpotIntrinsicCandidate " \
4119 "annotation, and that " \
4120 "(3) no orphan methods exist for class C (i.e., methods for " \
4121 "which the VM declares an intrinsic but that are not declared "\
4122 "in the loaded class C. " \
4123 "Check (3) is available only in debug builds.") \
4124 \
4125 develop_pd(intx, InitArrayShortSize, \
4126 "Threshold small size (in bytes) for clearing arrays. " \
4127 "Anything this size or smaller may get converted to discrete " \
4128 "scalar stores.") \
4129 range(0, max_intx) \
4130 constraint(InitArrayShortSizeConstraintFunc, AfterErgo) \
4131 \
4132 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4133 "Disable backwards compatibility for compile commands.") \
4134 \
4135 diagnostic(bool, CompilerDirectivesPrint, false, \
4136 "Print compiler directives on installation.") \
4137 diagnostic(int, CompilerDirectivesLimit, 50, \
4138 "Limit on number of compiler directives.")
4139
4140
4141 /*
4142 * Macros for factoring of globals
4143 */
4144
4145 // Interface macros
4146 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4147 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4148 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4149 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4150 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4151 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
|
4105 diagnostic(bool, UseUnalignedAccesses, false, \
4106 "Use unaligned memory accesses in Unsafe") \
4107 \
4108 product_pd(bool, PreserveFramePointer, \
4109 "Use the FP register for holding the frame pointer " \
4110 "and not as a general purpose register.") \
4111 \
4112 diagnostic(bool, CheckIntrinsics, true, \
4113 "When a class C is loaded, check that " \
4114 "(1) all intrinsics defined by the VM for class C are present "\
4115 "in the loaded class file and are marked with the " \
4116 "@HotSpotIntrinsicCandidate annotation, that " \
4117 "(2) there is an intrinsic registered for all loaded methods " \
4118 "that are annotated with the @HotSpotIntrinsicCandidate " \
4119 "annotation, and that " \
4120 "(3) no orphan methods exist for class C (i.e., methods for " \
4121 "which the VM declares an intrinsic but that are not declared "\
4122 "in the loaded class C. " \
4123 "Check (3) is available only in debug builds.") \
4124 \
4125 diagnostic(bool, CompilerDirectivesIgnoreCompileCommands, false, \
4126 "Disable backwards compatibility for compile commands.") \
4127 \
4128 diagnostic(bool, CompilerDirectivesPrint, false, \
4129 "Print compiler directives on installation.") \
4130 diagnostic(int, CompilerDirectivesLimit, 50, \
4131 "Limit on number of compiler directives.")
4132
4133
4134 /*
4135 * Macros for factoring of globals
4136 */
4137
4138 // Interface macros
4139 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
4140 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
4141 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
4142 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
4143 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
4144 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
|