-
CSR
-
Resolution: Unresolved
-
P4
-
None
-
behavioral
-
minimal
-
The current default value has been to use object array chunking from the start and heard no complaints. Other parallel collectors also do not allow this choice. Searching on internet found no usages of this flag.
-
add/remove/modify command line option
-
JDK
Summary
Deprecate the PSChunkLargeArrays
flag in JDK 26 and obsolete it in JDK 27, then remove in JDK 28.
Problem
PSChunkLargeArrays
incurs some implementation complexity in object array chunking during Young GC. However, there is no benefit in disabling this flag, as small object arrays (below ParGCArrayScanChunk
) are not chunked anyway.
This flag is used only by the Parallel and it is enabled by default.
Solution
Deprecate the PSChunkLargeArrays
flag in JDK 26 and obsolete it in JDK 27, then remove in JDK 28.
Specification
product(bool, PSChunkLargeArrays, true, \
- "Process large arrays in chunks") \
+ "(Deprecated) Process large arrays in chunks")
- csr of
-
JDK-8338474 Parallel: Deprecate and obsolete PSChunkLargeArrays
-
- Open
-