RFR: 8286978: SIGBUS in libz during CDS initialization
Calvin Cheung
ccheung at openjdk.java.net
Fri May 20 01:55:14 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`
-------------
Commit messages:
- 8286978: SIGBUS in libz during CDS initialization
Changes: https://git.openjdk.java.net/jdk/pull/8799/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8799&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8286978
Stats: 27 lines in 1 file changed: 23 ins; 0 del; 4 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