提交 cab28e78 编写于 作者: E egahlin

8209960: -Xlog:jfr* doesn't work with the JFR

Reviewed-by: mgronlun
上级 e18cb74d
......@@ -448,6 +448,12 @@ void JfrStartFlightRecordingDCmd::execute(DCmdSource source, TRAPS) {
assert(element != NULL, "invariant");
JfrJavaSupport::set_array_element(settings, element, i, CHECK);
}
} else {
settings = JfrJavaSupport::new_string_array(1, CHECK);
assert(settings != NULL, "invariant");
jobject element = JfrJavaSupport::new_string("default", CHECK);
assert(element != NULL, "invariant");
JfrJavaSupport::set_array_element(settings, element, 0, CHECK);
}
static const char klass[] = "jdk/jfr/internal/dcmd/DCmdStart";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册