8191329: Deprecate DeferPollingPageLoopCount
authorrehn
Mon, 20 Nov 2017 09:40:42 +0100
changeset 47994 5a16da2a3fcb
parent 47993 8011a94a8989
child 47995 8ad56b1b2b1f
8191329: Deprecate DeferPollingPageLoopCount 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:35:31 2017 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Nov 20 09:40:42 2017 +0100
@@ -382,6 +382,7 @@
   { "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) },
+  { "DeferPollingPageLoopCount",    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:35:31 2017 +0100
+++ b/src/hotspot/share/runtime/globals.hpp	Mon Nov 20 09:40:42 2017 +0100
@@ -3280,7 +3280,8 @@
           range(-1, max_jint-1)                                             \
                                                                             \
   product(intx, DeferPollingPageLoopCount,     -1,                          \
-          "(Unsafe,Unstable) Number of iterations in safepoint loop "       \
+          "(Unsafe,Unstable,Deprecated) "                                   \
+          "Number of iterations in safepoint loop "                         \
           "before changing safepoint polling page to RO ")                  \
           range(-1, max_jint-1)                                             \
                                                                             \