RFR: 8262096: Vector API fails to work due to VectorShape initialization exception [v5]
Jie Fu
jiefu at openjdk.java.net
Sat Feb 27 11:18:03 UTC 2021
On Sat, 27 Feb 2021 10:58:16 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> Jie Fu has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains seven additional commits since the last revision:
>>
>> - Fix in jdk/incubator/vector/VectorShape.java
>> - Merge branch 'master' into JDK-8262096
>> - Revert changes
>> - Remove -XX:TieredStopAtLevel=3
>> - Update the jtreg test
>> - The numerator should be 8 (byte)
>> - 8262096: Vector API fails to work due to VectorShape initialization exception
>
> test/jdk/jdk/incubator/vector/PreferredSpeciesTest.java line 42:
>
>> 40: * @modules jdk.incubator.vector java.base/jdk.internal.vm.vector
>> 41: * @run testng/othervm -XX:MaxVectorSize=8 PreferredSpeciesTest
>> 42: * @run testng/othervm -XX:MaxVectorSize=4 PreferredSpeciesTest
>
> `-XX:MaxVectorSize` is C2-specific. It's better to specify either `-XX:-IgnoreUnrecognizedVMOptions` or `@requires vm.compiler2.enabled`.
`@requires vm.compiler2.enabled` had been added.
Thanks.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2722
More information about the hotspot-compiler-dev
mailing list