JDK-8298614 : Support CDS heap dumping for SerialGC and ParallelGC
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 21
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-12-12
  • Updated: 2024-09-30
  • Resolved: 2024-09-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 24
24 b17Fixed
Related Reports
Relates :  
Relates :  
Description
This can be done after JDK-8298048 - Combine CDS archive heap into a single block, where the file storage format of the archive heap is generic enough that it should be fairly easy to create and mmap regardless of the collector used during "java -Xshare:dump". 
Comments
Changeset: d555f072 Branch: master Author: Matias Saavedra Silva <matsaave@openjdk.org> Date: 2024-09-19 14:15:45 +0000 URL: https://git.openjdk.org/jdk/commit/d555f072b2036664711242a242a35fb30d277e5a
19-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21004 Date: 2024-09-13 20:20:39 +0000
13-09-2024

This has been implemented in Leyden (for Serial and Parallel GCs). We should upstream the functionality into mainline. See https://bugs.openjdk.org/browse/JDK-8333222 https://github.com/openjdk/leyden/commit/c67940c709d4dfb0d5295f73971d33d40eeea527
07-08-2024