< prev index next >

src/hotspot/share/runtime/globals.hpp

Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???

@@ -392,10 +392,19 @@
           "Create zombies (non-entrant) at exit from the runtime system")   \
                                                                             \
   notproduct(bool, WalkStackALot, false,                                    \
           "Trace stack (no print) at every exit from the runtime system")   \
                                                                             \
+  develop(int, DeoptimizeObjectsALot, 0,                                    \
+          "Revert optimizations based on escape analysis at a frequency "   \
+          "given with DeoptimizeObjectsALotInterval=n. "                    \
+          "0: switched off. "                                               \
+          "1: At every nth exit from the runtime system "                   \
+          "2: Starts a dedicated thread that periodically triggers the "    \
+          "deoptimization n ms. " )                                         \
+           range(0,2)                                                       \
+                                                                            \
   product(bool, Debugging, false,                                           \
           "Set when executing debug methods in debug.cpp "                  \
           "(to prevent triggering assertions)")                             \
                                                                             \
   notproduct(bool, VerifyLastFrame, false,                                  \

@@ -1540,10 +1549,13 @@
           "Number of exits until DeoptimizeALot kicks in")                  \
                                                                             \
   notproduct(intx, ZombieALotInterval,     5,                               \
           "Number of exits until ZombieALot kicks in")                      \
                                                                             \
+  develop(intx, DeoptimizeObjectsALotInterval,     5,                       \
+          "Interval for DeoptimizeObjectsALot.")                            \
+                                                                            \
   diagnostic(uintx, MallocMaxTestWords,     0,                              \
           "If non-zero, maximum number of words that malloc/realloc can "   \
           "allocate (for testing only)")                                    \
           range(0, max_uintx)                                               \
                                                                             \
< prev index next >