mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
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:
parent
74e0691df5
commit
137a679446
4 changed files with 154 additions and 56 deletions
|
@ -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") \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue