< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page
rev 49619 : JEP 328 : Flight Recorder open source preview

@@ -449,10 +449,16 @@
   static void printFlags(outputStream* out, bool withComments, bool printRanges = false);
 
   static void verify() PRODUCT_RETURN;
 };
 
+#if INCLUDE_TRACE
+#define TRACE_ONLY(code) code
+#else
+#define TRACE_ONLY(code)
+#endif
+
 // use this for flags that are true by default in the debug version but
 // false in the optimized version, and vice versa
 #ifdef ASSERT
 #define trueInDebug  true
 #define falseInDebug false

@@ -2981,10 +2987,21 @@
           "Verify metaspace on chunk movements.")                           \
                                                                             \
   diagnostic(bool, ShowRegistersOnAssert, false,                            \
           "On internal errors, include registers in error report.")         \
                                                                             \
+  TRACE_ONLY(product(bool, FlightRecorder, false,                           \
+          "Enable Flight Recorder"))                                        \
+                                                                            \
+  TRACE_ONLY(product(ccstr, FlightRecorderOptions, NULL,                    \
+          "Flight Recorder options"))                                       \
+                                                                            \
+  TRACE_ONLY(product(ccstr, StartFlightRecording, NULL,                     \
+          "Start flight recording with options"))                           \
+                                                                            \
+  experimental(bool, UseFastUnorderedTimeStamps, false,                     \
+          "Use platform unstable time where supported for timestamps only")
 
 #define VM_FLAGS(develop,                                                   \
                  develop_pd,                                                \
                  product,                                                   \
                  product_pd,                                                \
< prev index next >