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

Yumin Qi minqi at openjdk.java.net
Wed Oct 6 21:53: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:

  Add offset check for _generic_header in populate_header

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

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

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

  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 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 serviceability-dev mailing list