changeset 9092:8c3a44b7ecfc

8232355: Two obsolete flags have the wrong obsolete version in 8u Summary: Correct the obsolete version of UseOldInlining and AutoShutdownNMT, and delete UseOldInlining in c2_globals.hpp Reviewed-by: phh
author ddong
date Thu, 16 Jan 2020 10:47:16 +0800
parents acd345f4f9e5
children e67abc2d032f
files src/share/vm/opto/c2_globals.hpp src/share/vm/runtime/arguments.cpp
diffstat 2 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/opto/c2_globals.hpp	Tue May 06 09:56:55 2014 -0400
+++ b/src/share/vm/opto/c2_globals.hpp	Thu Jan 16 10:47:16 2020 +0800
@@ -360,9 +360,6 @@
           "File to dump ideal graph to.  If set overrides the "             \
           "use of the network")                                             \
                                                                             \
-  product(bool, UseOldInlining, true,                                       \
-          "Enable the 1.3 inlining strategy")                               \
-                                                                            \
   product(bool, UseBimorphicInlining, true,                                 \
           "Profiling based inlining for two receivers")                     \
                                                                             \
--- a/src/share/vm/runtime/arguments.cpp	Tue May 06 09:56:55 2014 -0400
+++ b/src/share/vm/runtime/arguments.cpp	Thu Jan 16 10:47:16 2020 +0800
@@ -302,8 +302,8 @@
   { "UsePermISM",                    JDK_Version::jdk(8), JDK_Version::jdk(9) },
   { "UseMPSS",                       JDK_Version::jdk(8), JDK_Version::jdk(9) },
   { "UseStringCache",                JDK_Version::jdk(8), JDK_Version::jdk(9) },
-  { "UseOldInlining",                JDK_Version::jdk(9), JDK_Version::jdk(10) },
-  { "AutoShutdownNMT",               JDK_Version::jdk(9), JDK_Version::jdk(10) },
+  { "UseOldInlining",                JDK_Version::jdk_update(8, 20), JDK_Version::jdk(10) },
+  { "AutoShutdownNMT",               JDK_Version::jdk_update(8, 40), JDK_Version::jdk(10) },
   { "CompilationRepeat",             JDK_Version::jdk(8), JDK_Version::jdk(9) },
 #ifdef PRODUCT
   { "DesiredMethodLimit",