JDK-8312125 : Refactor CDS enum class handling
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-07-15
  • Updated: 2024-07-15
  • Resolved: 2024-07-08
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 24
24 b06Fixed
Description
The code for handling enum classes is currently in heapShared.cpp, which is getting too big.

We should move the code (without functional changes) to a new class, in preparation of future changes in CDS enum classes support (e.g., JDK-8293187)
Comments
Changeset: 9c7a6eab Author: Ioi Lam <iklam@openjdk.org> Date: 2024-07-08 20:14:26 +0000 URL: https://git.openjdk.org/jdk/commit/9c7a6eabb93c570fdb74076edc931576ed6be3e0
08-07-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/20013 Date: 2024-07-03 17:00:30 +0000
03-07-2024