Details
-
Bug
-
Resolution: Fixed
-
P4
-
23
-
b23
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332179 | 22.0.2 | Thomas Stuefe | P4 | Resolved | Fixed | b06 |
JDK-8335235 | 21.0.5 | Thomas Stuefe | P4 | Resolved | Fixed | b01 |
Description
These hashes are deliberately preserved or even generated during dumping. They are generated based on a seed that is initialized randomly on a per-thread basis. These generations preceede CDS dump initialization, so they are not affected by the init_random call there or by the changes of
A random seed will not work for dumping archives since it prevents reproducible archive generation. Therefore, when dumping, these seeds must be initiated in a reproducible way.
Attachments
Issue Links
- backported by
-
JDK-8332179 Identity hashes of archived objects must be based on a reproducible random seed
- Resolved
-
JDK-8335235 Identity hashes of archived objects must be based on a reproducible random seed
- Resolved
- relates to
-
JDK-8329968 os::random should be random
- Resolved
-
JDK-8323900 Avoid calling os::init_random() in CDS static dump
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/75287b56
-
Commit openjdk/jdk22u/9b3187f8
-
Commit openjdk/jdk/9f43ce5a
-
Review openjdk/jdk21u-dev/562
-
Review openjdk/jdk22u/194
-
Review openjdk/jdk/18735