3617 "Print the DTrace DOF passed to the system for JSDT probes") \
3618 \
3619 product(uintx, StringTableSize, NOT_LP64(1009) LP64_ONLY(60013), \
3620 "Number of buckets in the interned String table") \
3621 \
3622 product(bool, UseVMInterruptibleIO, false, \
3623 "(Unstable, Solaris-specific) Thread interrupt before or with " \
3624 "EINTR for I/O operations results in OS_INTRPT. The default value"\
3625 " of this flag is true for JDK 6 and earlier") \
3626 \
3627 product(bool, AllowNonVirtualCalls, false, \
3628 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") \
3629 \
3630 diagnostic(bool, WhiteBoxAPI, false, \
3631 "Enable internal testing APIs") \
3632 \
3633 product(bool, PrintGCCause, true, \
3634 "Include GC cause in GC logging") \
3635 \
3636 product(bool, EnableTracing, false, \
3637 "Enable event-based tracing")
3638
3639 /*
3640 * Macros for factoring of globals
3641 */
3642
3643 // Interface macros
3644 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
3645 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
3646 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
3647 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
3648 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
3649 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
3650 #ifdef PRODUCT
3651 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
3652 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
3653 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc)
3654 #else
3655 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
3656 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name;
3657 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type name;
|
3617 "Print the DTrace DOF passed to the system for JSDT probes") \
3618 \
3619 product(uintx, StringTableSize, NOT_LP64(1009) LP64_ONLY(60013), \
3620 "Number of buckets in the interned String table") \
3621 \
3622 product(bool, UseVMInterruptibleIO, false, \
3623 "(Unstable, Solaris-specific) Thread interrupt before or with " \
3624 "EINTR for I/O operations results in OS_INTRPT. The default value"\
3625 " of this flag is true for JDK 6 and earlier") \
3626 \
3627 product(bool, AllowNonVirtualCalls, false, \
3628 "Obey the ACC_SUPER flag and allow invokenonvirtual calls") \
3629 \
3630 diagnostic(bool, WhiteBoxAPI, false, \
3631 "Enable internal testing APIs") \
3632 \
3633 product(bool, PrintGCCause, true, \
3634 "Include GC cause in GC logging") \
3635 \
3636 product(bool, EnableTracing, false, \
3637 "Enable event-based tracing") \
3638 product(bool, UseLockedTracing, false, \
3639 "Use locked-tracing when doing event-based tracing")
3640
3641 /*
3642 * Macros for factoring of globals
3643 */
3644
3645 // Interface macros
3646 #define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name;
3647 #define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name;
3648 #define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name;
3649 #define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name;
3650 #define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name;
3651 #define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name;
3652 #ifdef PRODUCT
3653 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value;
3654 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name;
3655 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc)
3656 #else
3657 #define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name;
3658 #define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name;
3659 #define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type name;
|