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

Yumin Qi minqi at openjdk.java.net
Tue Oct 5 22:32: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:

  Added a helper class to facilitate checking archive


  - all: https://git.openjdk.java.net/jdk/pull/5768/files
  - new: https://git.openjdk.java.net/jdk/pull/5768/files/033c5763..1a88076f

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5768&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5768&range=03-04

  Stats: 267 lines in 4 files changed: 114 ins; 111 del; 42 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