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

Ioi Lam iklam at openjdk.java.net
Fri May 20 17:31:44 UTC 2022


On Fri, 20 May 2022 17:17:39 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

>> 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

LGTM

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

Marked as reviewed by iklam (Reviewer).

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


More information about the hotspot-runtime-dev mailing list