8190925: Deprecate FastTLABRefill and set default off
authorrehn
Tue, 14 Nov 2017 10:09:21 +0100
changeset 47883 acda08206310
parent 47882 a93ce8f7bddb
child 47884 3cfab71d6c81
8190925: Deprecate FastTLABRefill and set default off Reviewed-by: dholmes, mlarsson
src/hotspot/share/runtime/arguments.cpp
src/hotspot/share/runtime/globals.hpp
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Nov 13 14:53:28 2017 -0500
+++ b/src/hotspot/share/runtime/arguments.cpp	Tue Nov 14 10:09:21 2017 +0100
@@ -384,6 +384,7 @@
   { "MinRAMFraction",               JDK_Version::jdk(10),  JDK_Version::undefined(), JDK_Version::undefined() },
   { "InitialRAMFraction",           JDK_Version::jdk(10),  JDK_Version::undefined(), JDK_Version::undefined() },
   { "UseMembar",                    JDK_Version::jdk(10), JDK_Version::jdk(11), JDK_Version::jdk(12) },
+  { "FastTLABRefill",               JDK_Version::jdk(10), JDK_Version::jdk(11), JDK_Version::jdk(12) },
   { "IgnoreUnverifiableClassesDuringDump", JDK_Version::jdk(10),  JDK_Version::undefined(), JDK_Version::undefined() },
 
   // --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
--- a/src/hotspot/share/runtime/globals.hpp	Mon Nov 13 14:53:28 2017 -0500
+++ b/src/hotspot/share/runtime/globals.hpp	Tue Nov 14 10:09:21 2017 +0100
@@ -2020,8 +2020,8 @@
   product(bool, ZeroTLAB, false,                                            \
           "Zero out the newly created TLAB")                                \
                                                                             \
-  product(bool, FastTLABRefill, true,                                       \
-          "Use fast TLAB refill code")                                      \
+  product(bool, FastTLABRefill, false,                                      \
+          "(Deprecated) Use fast TLAB refill code")                         \
                                                                             \
   product(bool, TLABStats, true,                                            \
           "Provide more detailed and expensive TLAB statistics.")           \