Thu, 16 Jan 2020 10:47:16 +0800
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
src/share/vm/opto/c2_globals.hpp | file | annotate | diff | comparison | revisions | |
src/share/vm/runtime/arguments.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/opto/c2_globals.hpp Tue May 06 09:56:55 2014 -0400 1.2 +++ b/src/share/vm/opto/c2_globals.hpp Thu Jan 16 10:47:16 2020 +0800 1.3 @@ -360,9 +360,6 @@ 1.4 "File to dump ideal graph to. If set overrides the " \ 1.5 "use of the network") \ 1.6 \ 1.7 - product(bool, UseOldInlining, true, \ 1.8 - "Enable the 1.3 inlining strategy") \ 1.9 - \ 1.10 product(bool, UseBimorphicInlining, true, \ 1.11 "Profiling based inlining for two receivers") \ 1.12 \
2.1 --- a/src/share/vm/runtime/arguments.cpp Tue May 06 09:56:55 2014 -0400 2.2 +++ b/src/share/vm/runtime/arguments.cpp Thu Jan 16 10:47:16 2020 +0800 2.3 @@ -302,8 +302,8 @@ 2.4 { "UsePermISM", JDK_Version::jdk(8), JDK_Version::jdk(9) }, 2.5 { "UseMPSS", JDK_Version::jdk(8), JDK_Version::jdk(9) }, 2.6 { "UseStringCache", JDK_Version::jdk(8), JDK_Version::jdk(9) }, 2.7 - { "UseOldInlining", JDK_Version::jdk(9), JDK_Version::jdk(10) }, 2.8 - { "AutoShutdownNMT", JDK_Version::jdk(9), JDK_Version::jdk(10) }, 2.9 + { "UseOldInlining", JDK_Version::jdk_update(8, 20), JDK_Version::jdk(10) }, 2.10 + { "AutoShutdownNMT", JDK_Version::jdk_update(8, 40), JDK_Version::jdk(10) }, 2.11 { "CompilationRepeat", JDK_Version::jdk(8), JDK_Version::jdk(9) }, 2.12 #ifdef PRODUCT 2.13 { "DesiredMethodLimit",