[jdk21u-dev] RFR: 8330027: Identity hashes of archived objects must be based on a reproducible random seed [v2]

Thomas Stuefe stuefe at openjdk.org
Tue May 14 07:23:30 UTC 2024


> This fixes an issue with CDS archive reproducibility that can happen under rare circumstances. See original JBS issue for details.
> 
> I had to manually resolve the hunk in src/hotspot/share/cds/heapShared.cpp because both
> 
>     8251330: Reorder CDS archived heap to speed up relocation
>     8329431: Improve speed of writing CDS heap objects
>     were missing.
> 
> I also had to change `CDSConfig::is_dumping_static_archive()` - which only exists in JDK 22 and later - to the technically equal `DumpSharedSpaces`.

Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:

  Update heapShared.cpp

-------------

Changes:
  - all: https://git.openjdk.org/jdk21u-dev/pull/562/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/562/files/155bb08c..a2f6ffc5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=562&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=562&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/562.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/562/head:pull/562

PR: https://git.openjdk.org/jdk21u-dev/pull/562


More information about the jdk-updates-dev mailing list