diff src/share/vm/runtime/globals.hpp @ 695:becb17ad5e51

6824570: ParNew: Fix memory leak introduced in 6819891 Summary: Allocate worker-local overflow stacks, introduced in 6819891, along with ParNewGeneration, rather than with the per-scavenge ParScanThreadState. Reviewed-by: jmasa
author ysr
date Thu, 02 Apr 2009 15:57:41 -0700
parents cea947c8a988
children 922aedc96ef5
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Sat Mar 28 15:47:29 2009 -0700
+++ b/src/share/vm/runtime/globals.hpp	Thu Apr 02 15:57:41 2009 -0700
@@ -1316,8 +1316,11 @@
   product(intx, ParGCArrayScanChunk, 50,                                    \
           "Scan a subset and push remainder, if array is bigger than this") \
                                                                             \
+  product(bool, ParGCUseLocalOverflow, false,                               \
+          "Instead of a global overflow list, use local overflow stacks")   \
+                                                                            \
   product(bool, ParGCTrimOverflow, true,                                    \
-          "Eagerly trim the overflow lists (useful for UseCompressedOops")  \
+          "Eagerly trim the local overflow lists (when ParGCUseLocalOverflow") \
                                                                             \
   notproduct(bool, ParGCWorkQueueOverflowALot, false,                       \
           "Whether we should simulate work queue overflow in ParNew")       \