RFR: 8321542: C2: Missing ChaCha20 stub for x86_32 leads to crashes

Jamil Nimeh jnimeh at openjdk.org
Tue Dec 12 01:09:40 UTC 2023


On Tue, 12 Dec 2023 01:02:59 GMT, Jamil Nimeh <jnimeh at openjdk.org> wrote:

> This fix corrects an oversight in the ChaCha20 intrinsics delivered by JDK-8247645.  An ifdef guard is now part of the x86 ChaCha20 intrinsics code which disables them by default on 32-bit platforms, as this architecture was not part of the feature delivery.

The bug on 32-bit without this fix is easily reproducible by running any of the ChaCha20 microbenchmarks, or via the AEADBufferTest microbenchmark.  Likewise, once the fix is applied these benchmarks no longer crash the JVM.

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

PR Comment: https://git.openjdk.org/jdk/pull/17072#issuecomment-1851140657


More information about the hotspot-dev mailing list