RFR: 8251152: ARM32: jtreg c2 Test8202414 test crash

Filipp Zhinkin fzhinkin at openjdk.java.net
Mon Sep 7 12:59:02 UTC 2020


On Mon, 7 Sep 2020 12:53:03 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

>> 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.
>
> test/hotspot/jtreg/compiler/c2/Test8202414.java line 48:
> 
>> 46:         // alignment check failure on such CPUs.
>> 47:         if (!jdk.internal.misc.Unsafe.getUnsafe().unalignedAccess()) {
>> 48:           throw new SkippedException(
> 
> nit: I don't think we need a line break here.

Previously, all lines within this file were no longer than 80 chars, so I decided to follow the same restriction.

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

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


More information about the hotspot-compiler-dev mailing list