hotspot/src/share/vm/runtime/globals.hpp
changeset 2010 c13462bbad17
parent 2005 42075507972b
child 2034 ca0ff0c51e3b
--- a/hotspot/src/share/vm/runtime/globals.hpp	Fri Feb 06 01:38:50 2009 +0300
+++ b/hotspot/src/share/vm/runtime/globals.hpp	Sun Feb 08 13:18:01 2009 -0800
@@ -1655,6 +1655,13 @@
   develop(uintx, WorkStealingYieldsBeforeSleep, 1000,                       \
           "Number of yields before a sleep is done during workstealing")    \
                                                                             \
+  develop(uintx, WorkStealingHardSpins, 4096,                               \
+          "Number of iterations in a spin loop between checks on "          \
+          "time out of hard spin")                                          \
+                                                                            \
+  develop(uintx, WorkStealingSpinToYieldRatio, 10,                          \
+          "Ratio of hard spins to calls to yield")                          \
+                                                                            \
   product(uintx, PreserveMarkStackSize, 1024,                               \
            "Size for stack used in promotion failure handling")             \
                                                                             \