6819891: ParNew: Fix work queue overflow code to deal correctly with +UseCompressedOops

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
This commit is contained in:
Y. Srinivas Ramakrishna 2009-03-28 15:47:29 -07:00
parent 74e0691df5
commit 137a679446
4 changed files with 154 additions and 56 deletions

View file

@ -1316,6 +1316,9 @@ class CommandLineFlags {
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") \
\