You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JFR can invoke VM.setJFRRecordingFileName() before VM.startJFR()
Allow VM.setJFRRecordingFileName() to be invoked before VM.startJFR();
Ignore the recording filename changing within the commands JFR.dump and
JFR.stop commands.
Signed-off-by: Jason Feng <[email protected]>
if (command.equalsIgnoreCase(DIAGNOSTICS_JFR_START)) {
477
465
if (VM.isJFRRecordingStarted()) {
478
466
result = DiagnosticProperties.makeErrorProperties("One JFR recording is in progress [" + jfrRecordingFileName + "], only one recording is allowed at a time.");
479
467
} else {
468
+
// only JFR.start command is allowed to change the recording filename
0 commit comments