JDK-8345732 : Provide helpers for using PartialArrayState
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-12-06
  • Updated: 2025-01-05
  • Resolved: 2024-12-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 25
25 b04Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
Currently G1 younggen and Parallel youngen use PartialArrayStates to manage splitting the processing of large object arrays into parallelizable chunks.  We would like other kinds of collection to use that mechanism too.

The amount of code for doing so not trivial in size (>50-60 lines) or complexity, and is pretty nearly identical for each of the current users. And some of the differences may be unintentional. New clients would also need to have their own copies. It would be very helpful for adoption by new clients and long-term maintenance if this could be packaged up in some helper classes and functions.

Comments
Changeset: 2344a1a9 Branch: master Author: Kim Barrett <kbarrett@openjdk.org> Date: 2024-12-19 16:00:59 +0000 URL: https://git.openjdk.org/jdk/commit/2344a1a917ec6f6380a8187af9f6c369ac3da6cb
19-12-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/22622 Date: 2024-12-06 23:27:33 +0000
06-12-2024