We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17affab commit 08219faCopy full SHA for 08219fa
visualvm/jfr/src/org/graalvm/visualvm/jfr/impl/JFRRecordingProvider.java
@@ -168,13 +168,7 @@ public void run() {
168
if (openView) {
169
DataSourceWindowManager.sharedInstance().openDataSource(jfrDump);
170
}
171
- if (stopJfr) {
172
- jvm.stopJfrRecording();
173
- Set<DataSource> ds = ActionUtils.getSelectedDataSources();
174
- JFRDumpAction.instance().updateState(ds);
175
- JFRStartAction.instance().updateState(ds);
176
- JFRStopAction.instance().updateState(ds);
177
- }
+ if (stopJfr) jfrStopRecording(application);
178
} else {
179
notifyJfrDumpFailed(application);
180
0 commit comments