8191327: Deprecate DeferThrSuspendLoopCount
authorrehn
Mon, 20 Nov 2017 09:35:31 +0100
changeset 47993 8011a94a8989
parent 47992 cd4705f9eaff
child 47994 5a16da2a3fcb
8191327: Deprecate DeferThrSuspendLoopCount Reviewed-by: dholmes, shade
src/hotspot/share/runtime/arguments.cpp
src/hotspot/share/runtime/globals.hpp
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Nov 20 09:33:16 2017 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Nov 20 09:35:31 2017 +0100
@@ -381,6 +381,7 @@
   { "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) },
   { "SafepointSpinBeforeYield",     JDK_Version::jdk(10), JDK_Version::jdk(11), JDK_Version::jdk(12) },
+  { "DeferThrSuspendLoopCount",     JDK_Version::jdk(10), JDK_Version::jdk(11), JDK_Version::jdk(12) },
   { "UseCGroupMemoryLimitForHeap",  JDK_Version::jdk(10),  JDK_Version::undefined(), JDK_Version::jdk(11) },
   { "IgnoreUnverifiableClassesDuringDump", JDK_Version::jdk(10),  JDK_Version::undefined(), JDK_Version::undefined() },
 
--- a/src/hotspot/share/runtime/globals.hpp	Mon Nov 20 09:33:16 2017 +0100
+++ b/src/hotspot/share/runtime/globals.hpp	Mon Nov 20 09:35:31 2017 +0100
@@ -3274,7 +3274,8 @@
           "Delay in scheduling GC workers (in milliseconds)")               \
                                                                             \
   product(intx, DeferThrSuspendLoopCount,     4000,                         \
-          "(Unstable) Number of times to iterate in safepoint loop "        \
+          "(Unstable, Deprecated) "                                         \
+          "Number of times to iterate in safepoint loop "                   \
           "before blocking VM threads ")                                    \
           range(-1, max_jint-1)                                             \
                                                                             \