JDK-8279654 : jdk/incubator/vector/Vector256ConversionTests.java crashes randomly with SVE
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18,19
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: aarch64
  • Submitted: 2022-01-10
  • Updated: 2022-01-25
  • Resolved: 2022-01-19
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 18 JDK 19
18 b32Fixed 19Fixed
Description
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/matcher.cpp:1794
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/eriliu02/entllt/openjdk/jdk/jdk_src/src/hotspot/share/opto/matcher.cpp:1794), pid=3792173, tid=3792189
#  assert(C->node_arena()->contains(s->_leaf) || !has_new_node(s->_leaf)) failed: duplicating node that's already been matched
#
# JRE version: OpenJDK Runtime Environment (18.0) (fastdebug build 18-internal+0-git-cd8783c08)
# Java VM: OpenJDK 64-Bit Server VM (fastdebug 18-internal+0-git-cd8783c08, mixed mode, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# V  [libjvm.so+0x13f45d4]test Vector256ConversionTests.castShape(Species[short, 16, S_256_BIT], Species[int, 2, S_64_BIT], short(i)): success
castShape took 161 ms
config AbstractVectorConversionTest.getRunTime(org.testng.internal.TestResult@3b211449): success
test Vector256ConversionTests.castShape(Species[short, 16, S_256_BIT], Species[long, 1, S_64_BIT], short(i)): success
castShape took 147 ms
config AbstractVectorConversionTest.getRunTime(org.testng.internal.TestResult@337da6e): success
  Matcher::ReduceInst(State*, int, Node*&)+0xca4
#
STDERR:
WARNING: Using incubator modules: jdk.incubator.vector
Comments
Changeset: af6c9aba Author: Fei Gao <fgao@openjdk.org> Committer: Ningsheng Jian <njian@openjdk.org> Date: 2022-01-19 01:20:53 +0000 URL: https://git.openjdk.java.net/jdk18/commit/af6c9abafaa3b8f9bdcc938fec465aeeed8b30ed
19-01-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk18/pull/98 Date: 2022-01-13 06:34:18 +0000
13-01-2022

ILW = C2 assert with vector test, single test?, disable compilation of affected method = HLM = P3
10-01-2022

There is no match rule to subsume StoreVector (VectorStoreMask src) into one instruction when the element basic type is T_BYTE even though pd_clone_node returns true.
10-01-2022