3842 "EINTR for I/O operations results in OS_INTRPT. The default " \ 3843 "value of this flag is true for JDK 6 and earlier") \ 3844 \ 3845 diagnostic(bool, WhiteBoxAPI, false, \ 3846 "Enable internal testing APIs") \ 3847 \ 3848 product(bool, PrintGCCause, true, \ 3849 "Include GC cause in GC logging") \ 3850 \ 3851 product(bool , AllowNonVirtualCalls, false, \ 3852 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") \ 3853 \ 3854 diagnostic(ccstr, SharedArchiveFile, NULL, \ 3855 "Override the default location of the CDS archive file") \ 3856 \ 3857 experimental(uintx, ArrayAllocatorMallocLimit, \ 3858 SOLARIS_ONLY(64*K) NOT_SOLARIS(max_uintx), \ 3859 "Allocation less than this value will be allocated " \ 3860 "using malloc. Larger allocations will use mmap.") \ 3861 \ 3862 product(bool, EnableTracing, false, \ 3863 "Enable event-based tracing") \ 3864 \ 3865 product(bool, UseLockedTracing, false, \ 3866 "Use locked-tracing when doing event-based tracing") 3867 3868 /* 3869 * Macros for factoring of globals 3870 */ 3871 3872 // Interface macros 3873 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name; 3874 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name; 3875 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name; 3876 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name; 3877 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name; 3878 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name; 3879 #ifdef PRODUCT 3880 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type CONST_##name; const type name = value; 3881 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type CONST_##name; const type name = pd_##name; | 3842 "EINTR for I/O operations results in OS_INTRPT. The default " \ 3843 "value of this flag is true for JDK 6 and earlier") \ 3844 \ 3845 diagnostic(bool, WhiteBoxAPI, false, \ 3846 "Enable internal testing APIs") \ 3847 \ 3848 product(bool, PrintGCCause, true, \ 3849 "Include GC cause in GC logging") \ 3850 \ 3851 product(bool , AllowNonVirtualCalls, false, \ 3852 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") \ 3853 \ 3854 diagnostic(ccstr, SharedArchiveFile, NULL, \ 3855 "Override the default location of the CDS archive file") \ 3856 \ 3857 experimental(uintx, ArrayAllocatorMallocLimit, \ 3858 SOLARIS_ONLY(64*K) NOT_SOLARIS(max_uintx), \ 3859 "Allocation less than this value will be allocated " \ 3860 "using malloc. Larger allocations will use mmap.") \ 3861 \ 3862 experimental(bool, AlwaysAtomicAccesses, false, \ 3863 "Accesses to all variables should always be atomic") \ 3864 \ 3865 product(bool, EnableTracing, false, \ 3866 "Enable event-based tracing") \ 3867 \ 3868 product(bool, UseLockedTracing, false, \ 3869 "Use locked-tracing when doing event-based tracing") 3870 3871 /* 3872 * Macros for factoring of globals 3873 */ 3874 3875 // Interface macros 3876 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name; 3877 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name; 3878 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name; 3879 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name; 3880 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name; 3881 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name; 3882 #ifdef PRODUCT 3883 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type CONST_##name; const type name = value; 3884 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type CONST_##name; const type name = pd_##name; |