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

Thomas Stuefe stuefe at openjdk.org
Thu Jun 27 05:53:16 UTC 2024


On Fri, 10 May 2024 14:58:37 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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`.

This pull request has now been integrated.

Changeset: 75287b56
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk21u-dev/commit/75287b56034baabe07bc3f34e717711aca28e451
Stats:     14 lines in 3 files changed: 3 ins; 8 del; 3 mod

8330027: Identity hashes of archived objects must be based on a reproducible random seed

Reviewed-by: mdoerr
Backport-of: 9f43ce5a725b212cec0f3cd17491c4bada953676

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

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


More information about the jdk-updates-dev mailing list