mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8152176: Big ParGCCardsPerStrideChunk values can cause overflow for CMS GC
Limit the max value of ParGCCardsPerStrideChunk based on card table size and other stride flags Reviewed-by: jmasa, tbenson
This commit is contained in:
parent
c3469071aa
commit
a868617af7
4 changed files with 44 additions and 9 deletions
|
@ -1629,6 +1629,7 @@ public:
|
|||
"The number of cards in each chunk of the parallel chunks used " \
|
||||
"during card table scanning") \
|
||||
range(1, max_intx) \
|
||||
constraint(ParGCCardsPerStrideChunkConstraintFunc,AfterMemoryInit)\
|
||||
\
|
||||
product(uintx, OldPLABWeight, 50, \
|
||||
"Percentage (0-100) used to weight the current sample when " \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue