In order to not cause excessive traffic on task queues when scanning large object arrays, G1 uses a way of slicing those arrays into smaller pieces. It overrides the from-space array's length field to track the array slices.
We should improve the tasks such that array slices can be fully encoded in the task and does not require overriding the array length.
We should improve the tasks such that array slices can be fully encoded in the task and does not require overriding the array length.
- relates to
-
JDK-8337709 Use allocated states for chunking large array processing
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/19282