diff src/share/vm/runtime/globals.hpp @ 679:cea947c8a988

6819891: ParNew: Fix work queue overflow code to deal correctly with +UseCompressedOops Summary: When using compressed oops, rather than chaining the overflowed grey objects' pre-images through their klass words, we use GC-worker thread-local overflow stacks. Reviewed-by: jcoomes, jmasa
author ysr
date Sat, 28 Mar 2009 15:47:29 -0700
parents bd441136a5ce
children a80d48f6fde1 becb17ad5e51
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Thu Mar 26 08:51:32 2009 -0700
+++ b/src/share/vm/runtime/globals.hpp	Sat Mar 28 15:47:29 2009 -0700
@@ -1316,6 +1316,9 @@
   product(intx, ParGCArrayScanChunk, 50,                                    \
           "Scan a subset and push remainder, if array is bigger than this") \
                                                                             \
+  product(bool, ParGCTrimOverflow, true,                                    \
+          "Eagerly trim the overflow lists (useful for UseCompressedOops")  \
+                                                                            \
   notproduct(bool, ParGCWorkQueueOverflowALot, false,                       \
           "Whether we should simulate work queue overflow in ParNew")       \
                                                                             \