changeset 48189:cd4705f9eaff

8191326: Deprecate SafepointSpinBeforeYield Reviewed-by: dholmes, shade
author rehn
date Mon, 20 Nov 2017 09:33:16 +0100
parents a474466c4fdb
children 8011a94a8989
files src/hotspot/share/runtime/arguments.cpp src/hotspot/share/runtime/globals.hpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/runtime/arguments.cpp	Sun Nov 19 23:30:41 2017 -0500
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Nov 20 09:33:16 2017 +0100
@@ -380,6 +380,7 @@
   { "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) },
+  { "SafepointSpinBeforeYield",     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	Sun Nov 19 23:30:41 2017 -0500
+++ b/src/hotspot/share/runtime/globals.hpp	Mon Nov 20 09:33:16 2017 +0100
@@ -3283,7 +3283,7 @@
           "before changing safepoint polling page to RO ")                  \
           range(-1, max_jint-1)                                             \
                                                                             \
-  product(intx, SafepointSpinBeforeYield, 2000, "(Unstable)")               \
+  product(intx, SafepointSpinBeforeYield, 2000, "(Unstable, Deprecated)")   \
           range(0, max_intx)                                                \
                                                                             \
   product(bool, PSChunkLargeArrays, true,                                   \