mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6824570: ParNew: Fix memory leak introduced in 6819891
Allocate worker-local overflow stacks, introduced in 6819891, along with ParNewGeneration, rather than with the per-scavenge ParScanThreadState. Reviewed-by: jmasa
This commit is contained in:
parent
137a679446
commit
ce3f3161da
4 changed files with 48 additions and 17 deletions
|
@ -1316,8 +1316,11 @@ class CommandLineFlags {
|
|||
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") \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue