[jdk11u-dev] Integrated: 8251152: ARM32: jtreg c2 Test8202414 test crash

Joshua Cao duke at openjdk.org
Wed Aug 17 21:01:13 UTC 2022


On Thu, 11 Aug 2022 04:39:05 GMT, Joshua Cao <duke at openjdk.org> wrote:

> Backport of 8251152: ARM32: jtreg c2 Test8202414 test crash
> 
> Backport is not clean because JDK 11 does not include [JDK-8244224](https://bugs.openjdk.org/browse/JDK-8244224). 
> The patch removed the `@requires` line, but the line is present in JDK 11. 
> 
> 
>   * @test
>   * @bug 8202414
>   * @summary Unsafe write after primitive array creation may result in array length change
>   * @requires (os.arch != "sparc") & (os.arch != "sparcv9")
>   * @run main/othervm compiler.c2.Test8202414
> 
> 
> Manual fix is trivial. We just paste the new lines under the `@requires` line

This pull request has now been integrated.

Changeset: ad2e6e4d
Author:    Joshua Cao <joshcao at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/ad2e6e4d2526f036a5525913fd529c9a5cf12f0c
Stats:     15 lines in 2 files changed: 11 ins; 1 del; 3 mod

8251152: ARM32: jtreg c2 Test8202414 test crash

Some CPUs (like ARM32) does not support unaligned memory accesses. To avoid JVM crashes tests that perform such accesses should be skipped on corresponding platforms.

Reviewed-by: phh
Backport-of: 70d5cac961db663f96223bd9efbc8b5ca77cc88a

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

PR: https://git.openjdk.org/jdk11u-dev/pull/1321


More information about the jdk-updates-dev mailing list