Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8330027

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

XMLWordPrintable

    • b23

        CDS archive contains archived objects with identity hashes.

        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 JDK-8323900.

        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.

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: