changeset 50779:ec881a19d294

8195817: JFR.stop should require name of recording Reviewed-by: mgronlun
author egahlin
date Mon, 21 May 2018 17:38:46 +0200
parents 2ae4cd9d809d
children 85e3ac4fa57b
files src/hotspot/share/jfr/dcmd/jfrDcmds.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/jfr/dcmd/jfrDcmds.cpp	Mon May 21 14:46:12 2018 +0200
+++ b/src/hotspot/share/jfr/dcmd/jfrDcmds.cpp	Mon May 21 17:38:46 2018 +0200
@@ -443,7 +443,7 @@
 
 JfrStopFlightRecordingDCmd::JfrStopFlightRecordingDCmd(outputStream* output,
                                                        bool heap) : DCmdWithParser(output, heap),
-  _name("name", "Recording text,.e.g \\\"My Recording\\\"", "STRING", false, NULL),
+  _name("name", "Recording text,.e.g \\\"My Recording\\\"", "STRING", true, NULL),
   _filename("filename", "Copy recording data to file, e.g. \\\"" JFR_FILENAME_EXAMPLE "\\\"", "STRING", false, NULL) {
   _dcmdparser.add_dcmd_option(&_name);
   _dcmdparser.add_dcmd_option(&_filename);