< prev index next >

src/hotspot/share/gc/shenandoah/shenandoah_globals.hpp

Print this page
rev 58543 : 8241605: Shenandoah: More aggressive reference discovery

@@ -149,10 +149,15 @@
   experimental(bool, ShenandoahAlwaysClearSoftRefs, false,                  \
           "Unconditionally clear soft references, instead of using any "    \
           "other cleanup policy. This minimizes footprint at expense of"    \
           "more soft reference churn in applications.")                     \
                                                                             \
+  diagnostic(bool, ShenandoahAggressiveReferenceDiscovery, true,            \
+          "Aggressively avoid keeping alive references upon "               \
+          "Reference.get(), at the expense of some extra latency, "         \
+          "caused by an extra threads-stacks-scan at final-mark")           \
+                                                                            \
   experimental(bool, ShenandoahUncommit, true,                              \
           "Allow to uncommit memory under unused regions and metadata. "    \
           "This optimizes footprint at expense of allocation latency in "   \
           "regions that require committing back. Uncommits would be "       \
           "disabled by some heuristics, or with static heap size.")         \
< prev index next >