3923 "the CDS archive, in the specified file") \
3924 \
3925 product(ccstr, SharedClassListFile, NULL, \
3926 "Override the default CDS class list") \
3927 \
3928 diagnostic(ccstr, SharedArchiveFile, NULL, \
3929 "Override the default location of the CDS archive file") \
3930 \
3931 product(ccstr, ExtraSharedClassListFile, NULL, \
3932 "Extra classlist for building the CDS archive file") \
3933 \
3934 experimental(uintx, ArrayAllocatorMallocLimit, \
3935 SOLARIS_ONLY(64*K) NOT_SOLARIS(max_uintx), \
3936 "Allocation less than this value will be allocated " \
3937 "using malloc. Larger allocations will use mmap.") \
3938 \
3939 product(bool, EnableTracing, false, \
3940 "Enable event-based tracing") \
3941 \
3942 product(bool, UseLockedTracing, false, \
3943 "Use locked-tracing when doing event-based tracing")
3944
3945 /*
3946 * Macros for factoring of globals
3947 */
3948
3949 // Interface macros
3950 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
3951 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
3952 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
3953 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
3954 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
3955 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
3956 #ifdef PRODUCT
3957 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type CONST_##name; const type name = value;
3958 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type CONST_##name; const type name = pd_##name;
3959 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type CONST_##name;
3960 #else
3961 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
3962 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name;
3963 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type name;
|
3923 "the CDS archive, in the specified file") \
3924 \
3925 product(ccstr, SharedClassListFile, NULL, \
3926 "Override the default CDS class list") \
3927 \
3928 diagnostic(ccstr, SharedArchiveFile, NULL, \
3929 "Override the default location of the CDS archive file") \
3930 \
3931 product(ccstr, ExtraSharedClassListFile, NULL, \
3932 "Extra classlist for building the CDS archive file") \
3933 \
3934 experimental(uintx, ArrayAllocatorMallocLimit, \
3935 SOLARIS_ONLY(64*K) NOT_SOLARIS(max_uintx), \
3936 "Allocation less than this value will be allocated " \
3937 "using malloc. Larger allocations will use mmap.") \
3938 \
3939 product(bool, EnableTracing, false, \
3940 "Enable event-based tracing") \
3941 \
3942 product(bool, UseLockedTracing, false, \
3943 "Use locked-tracing when doing event-based tracing") \
3944 \
3945 product_pd(bool, PreserveFramePointer, \
3946 "Use the FP register for holding the frame pointer " \
3947 "and not as a general purpose register.")
3948
3949 /*
3950 * Macros for factoring of globals
3951 */
3952
3953 // Interface macros
3954 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
3955 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
3956 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
3957 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
3958 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
3959 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
3960 #ifdef PRODUCT
3961 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type CONST_##name; const type name = value;
3962 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type CONST_##name; const type name = pd_##name;
3963 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type CONST_##name;
3964 #else
3965 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
3966 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name;
3967 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type name;
|