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

Roman Kennke rkennke at openjdk.org
Thu Apr 11 14:26:40 UTC 2024


On Thu, 11 Apr 2024 13:27:59 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> > Do we need to generate I-hash on archive generation at all?
> 
> 
> 
> Yes, see https://github.com/openjdk/jdk/blob/087e8e7f3b2d87e6dc3c4e1c49eff7bae88f1e4f/src/hotspot/share/cds/archiveHeapWriter.cpp#L532

I get that we need to *preserve* I-hashed. But why do we ever have to generate any new ones?

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

PR Comment: https://git.openjdk.org/jdk/pull/18735#issuecomment-2049816398


More information about the hotspot-runtime-dev mailing list