RFR: JDK-8285675: Temporary fix for arm32 SafeFetch

Martin Doerr mdoerr at openjdk.java.net
Wed Apr 27 10:47:36 UTC 2022


On Tue, 26 Apr 2022 13:31:00 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> [JDK-8283326](https://bugs.openjdk.java.net/browse/JDK-8283326) reworked the SafeFetch implementation and, on most platforms, switched to static assembly.
> 
> On arm (32-bit), this change led to strange crashes ([JDK-8284997](https://bugs.openjdk.java.net/browse/JDK-8284997)). These problems are time consuming to analyze (among other things they only occur when building natively on a Rasberry Pi with one particular Docker setup).
> 
> As a temporary workaround I'd like to switch SafeFetch to the sigjmp method for arm, until I find time to analyze these problems in more detail.

Looks like a good and trivial workaround for JDK-8284997.

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

Marked as reviewed by mdoerr (Reviewer).

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


More information about the hotspot-runtime-dev mailing list