RFR: 8286978: SIGBUS in libz during CDS initialization [v2]

Calvin Cheung ccheung at openjdk.java.net
Fri May 20 05:37:27 UTC 2022


> Please review this fix to ensure all requested bytes are transferred by calling `FileChannel.transferFrom` in a loop and checking its return value.
> 
> Tested by running the SharedArchiveConsistency.java test on linux-aarch64 30 times on each of the following tier3 options:
> 
> - `-XX:+CreateCoredumpOnCrash -XX:+UseSerialGC `
> - `-XX:+CreateCoredumpOnCrash -XX:+UseParallelGC -XX:+UseNUMA`

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  corrected the condition of the while loop, removed an unneeded line of code

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8799/files
  - new: https://git.openjdk.java.net/jdk/pull/8799/files/a78672cd..9147888d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8799&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8799&range=00-01

  Stats: 6 lines in 1 file changed: 0 ins; 4 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8799.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8799/head:pull/8799

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


More information about the hotspot-runtime-dev mailing list