JDK-8309065 : Move the logic to determine archive heap location from CDS to G1 GC
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-05-29
  • Updated: 2023-07-12
  • Resolved: 2023-06-12
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 22
22 b02Fixed
Description
The location in the Java heap where the archive heap objects are loaded/mapped is an implementation detail of the GC policy in use. However, when G1 gc is used, the heap location to map archive objects is determined by the CDS.

As a first step towards having a single set of GC APIs to allocate heap for archive objects, the logic to find the heap location for mapping archive objects needs to be moved to G1 GC.
Comments
Changeset: 3028295f Author: Ashutosh Mehra <asmehra@redhat.com> Committer: Ioi Lam <iklam@openjdk.org> Date: 2023-06-12 22:08:47 +0000 URL: https://git.openjdk.org/jdk/commit/3028295fdd2e5caf22463d1ee8009e72d4221d53
12-06-2023

[~iklam] thanks for making it a subtask.
01-06-2023

[~asmehra] I converted it to a subtask by clicking "More" -> "Convert to Subtask"
31-05-2023

Any idea how do I change its type from "Enhancement" to make it a sub-task of JDK-8296263?
31-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14208 Date: 2023-05-29 21:15:33 +0000
29-05-2023