8195817: JFR.stop should require name of recording
authoregahlin
Mon, 21 May 2018 17:38:46 +0200
changeset 50195 ec881a19d294
parent 50194 2ae4cd9d809d
child 50196 85e3ac4fa57b
8195817: JFR.stop should require name of recording Reviewed-by: mgronlun
src/hotspot/share/jfr/dcmd/jfrDcmds.cpp
--- 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);