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

Calvin Cheung ccheung at openjdk.java.net
Fri May 20 17:17:39 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:

  avoid the use of FileChannel.write

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

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

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

  Stats: 13 lines in 2 files changed: 4 ins; 0 del; 9 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