src/share/vm/runtime/globals.hpp

changeset 9858
b985cbb00e68
parent 9600
a253fe293726
child 9861
a248d0be1309
     1.1 --- a/src/share/vm/runtime/globals.hpp	Thu Aug 01 03:44:03 2019 +0100
     1.2 +++ b/src/share/vm/runtime/globals.hpp	Mon Aug 12 18:30:40 2019 +0300
     1.3 @@ -204,6 +204,10 @@
     1.4  
     1.5  #endif // no compilers
     1.6  
     1.7 +#if !INCLUDE_JFR
     1.8 +#define LogJFR false
     1.9 +#endif
    1.10 +
    1.11  // string type aliases used only in this file
    1.12  typedef const char* ccstr;
    1.13  typedef const char* ccstrlist;   // represents string arguments which accumulate
    1.14 @@ -3982,15 +3986,27 @@
    1.15            "Allocation less than this value will be allocated "              \
    1.16            "using malloc. Larger allocations will use mmap.")                \
    1.17                                                                              \
    1.18 -  product(bool, EnableTracing, false,                                       \
    1.19 -          "Enable event-based tracing")                                     \
    1.20 -                                                                            \
    1.21 -  product(bool, UseLockedTracing, false,                                    \
    1.22 -          "Use locked-tracing when doing event-based tracing")              \
    1.23 -                                                                            \
    1.24    product_pd(bool, PreserveFramePointer,                                    \
    1.25               "Use the FP register for holding the frame pointer "           \
    1.26 -             "and not as a general purpose register.")
    1.27 +             "and not as a general purpose register.")                      \
    1.28 +                                                                            \
    1.29 +  JFR_ONLY(product(bool, FlightRecorder, false,                             \
    1.30 +          "Enable Flight Recorder"))                                        \
    1.31 +                                                                            \
    1.32 +  JFR_ONLY(product(ccstr, FlightRecorderOptions, NULL,                      \
    1.33 +          "Flight Recorder options"))                                       \
    1.34 +                                                                            \
    1.35 +  JFR_ONLY(product(ccstr, StartFlightRecording, NULL,                       \
    1.36 +          "Start flight recording with options"))                           \
    1.37 +                                                                            \
    1.38 +  JFR_ONLY(product(bool, UnlockCommercialFeatures, false,                   \
    1.39 +          "This flag is ignored. Left for compatibility"))                  \
    1.40 +                                                                            \
    1.41 +  experimental(bool, UseFastUnorderedTimeStamps, false,                     \
    1.42 +          "Use platform unstable time where supported for timestamps only") \
    1.43 +                                                                            \
    1.44 +  JFR_ONLY(product(bool, LogJFR, false,                                     \
    1.45 +          "Enable JFR logging (consider +Verbose)"))                        \
    1.46  
    1.47  /*
    1.48   *  Macros for factoring of globals

mercurial