JDK-8265083 : JDK-8264954 causes Tier3 test failures
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 17
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: aarch64
  • Submitted: 2021-04-12
  • Updated: 2021-04-13
  • Resolved: 2021-04-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 17
17Resolved
Related Reports
Duplicate :  
Relates :  
Description
The following tests are failing the JDK17 CI:

jdk/incubator/vector/Byte128VectorTests.java
jdk/incubator/vector/Byte64VectorTests.java
jdk/incubator/vector/ByteMaxVectorTests.java
jdk/incubator/vector/Short128VectorTests.java
jdk/incubator/vector/ShortMaxVectorTests.java

These test started failing on linux-aarch64 with the following fix:

JDK-8264954 unified handling for VectorMask object re-materialization during de-optimization

Here's a snippet from the ShortMaxVectorTests.java log file:

===============================================
jdk/incubator/vector/ShortMaxVectorTests.java
Total tests run: 2181, Failures: 3, Skips: 0
===============================================

----------System.err:(15/913)----------
WARNING: Using incubator modules: jdk.incubator.vector
java.lang.Exception: failures: 3
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:831)

JavaTest Message: Test threw exception: java.lang.Exception: failures: 3
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 3
----------rerun:(42/5932)*----------
Comments
I've created a REDO task (JDK-8265126) and moved the BACKOUT subtask there. I'm closing this one as duplicate. For future backouts, please follow these instructions: https://openjdk.java.net/guide/index.html#backing-out-a-change
13-04-2021

Here is the issue (it seems Aarch64 code does not support these types of vectors): java.lang.UnsupportedOperationException: Bad vector element type: short (should be either int or long, to reinterpret as float or double) at jdk.incubator.vector/jdk.incubator.vector.LaneType.badElementType(LaneType.java:170) at jdk.incubator.vector/jdk.incubator.vector.LaneType.asFloating(LaneType.java:104) at jdk.incubator.vector/jdk.incubator.vector.ShortVector.viewAsFloatingLanes(ShortVector.java:3362) at ShortMaxVectorTests.viewAsFloatingLanesTest(ShortMaxVectorTests.java:1245)
12-04-2021

[~jbhateja] I will back out JDK-8264954 change because we hit numerous failures in our testing. Please, work on the fix.
12-04-2021