RFR: 8273152: Refactor CDS FileMapHeader loading code [v7]

Yumin Qi minqi at openjdk.java.net
Wed Oct 6 17:48:30 UTC 2021


> Please review,
>   Refactor fundamental CDS FileMapHeader code for reliable reading of basic info from shared archive.
>   With the change, it makes it possible to read an archive generated by different version of hotspot. Also it is possible to automatically generate a CDS archive If the archive supplied is not readable or fails to pass the check.
> 
>   Tests: tier1-4
>    jtreg on sa.
> 
> Thanks
> Yumin

Yumin Qi has updated the pull request incrementally with one additional commit since the last revision:

  Change FileHeaderHelper::_header to value of non-ptr

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5768/files
  - new: https://git.openjdk.java.net/jdk/pull/5768/files/b804dbc6..81bd3a12

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5768&range=06
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5768&range=05-06

  Stats: 13 lines in 1 file changed: 0 ins; 8 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5768.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5768/head:pull/5768

PR: https://git.openjdk.java.net/jdk/pull/5768


More information about the hotspot-runtime-dev mailing list