提交 b430cf65 编写于 作者: D Denghui Dong 提交者: D-D-H

[Misc] Make EnableJFR obsolete

Summary: make EnableJFR obsolete

Test Plan: java -XX:+/-EnableJFR -version

Reviewed-by: zhengxiaolinX

Issue: https://github.com/alibaba/dragonwell8/issues/119
上级 61226506
......@@ -323,6 +323,7 @@ static ObsoleteFlag obsolete_jvm_flags[] = {
{ "AutoShutdownNMT", JDK_Version::jdk_update(8, 40), JDK_Version::jdk(10) },
{ "CompilationRepeat", JDK_Version::jdk(8), JDK_Version::jdk(9) },
{ "SegmentedHeapDumpThreshold", JDK_Version::jdk_update(8, 252), JDK_Version::jdk(10) },
{ "EnableJFR", JDK_Version::jdk_update(8, 262), JDK_Version::jdk(9) },
#ifdef PRODUCT
{ "DesiredMethodLimit",
JDK_Version::jdk_update(7, 2), JDK_Version::jdk(8) },
......
......@@ -138,7 +138,7 @@ class JDK_Version VALUE_OBJ_CLASS_SPEC {
return JDK_Version(m);
}
static JDK_Version jdk_update(uint8_t major, uint8_t update_number) {
static JDK_Version jdk_update(uint8_t major, uint16_t update_number) {
return JDK_Version(major, 0, 0, update_number);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册