-
Bug
-
Resolution: Fixed
-
P3
-
17, 18, 19
-
b11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8284257 | 18.0.2 | Tobias Hartmann | P3 | Resolved | Fixed | b02 |
JDK-8283830 | 17.0.4-oracle | Tobias Hartmann | P3 | Resolved | Fixed | b01 |
JDK-8283942 | 17.0.4 | Martin Doerr | P3 | Resolved | Fixed | b01 |
-XX:UseAVX=3 -XX:+UnlockDiagnosticVMOptions -XX:+UseKNLSetting -XX:+UnlockExperimentalVMOptions -XX:+UseZGC
triggers this assert from src/hotspot/cpu/x86/assembler_x86.cpp.
When reproducing this make sure the machine has AVX3 support, else the code automatically reverts to AVX2 and does not end up triggering the assert.
In particular, I have seen these tests fail:
jdk/incubator/vector/VectorMaxConversionTests.java
jdk/incubator/vector/Vector512ConversionTests.java
jdk/incubator/vector/Vector256ConversionTests.java
jdk/incubator/vector/Vector128ConversionTests.java
jdk/incubator/vector/Long512VectorTests.java
jdk/incubator/vector/Long512VectorLoadStoreTests.java
jdk/incubator/vector/Int512VectorTests.java
jdk/incubator/vector/Int512VectorLoadStoreTests.java
jdk/incubator/vector/Float512VectorTests.java
jdk/incubator/vector/Float512VectorLoadStoreTests.java
jdk/incubator/vector/Double512VectorTests.java
jdk/incubator/vector/Double512VectorLoadStoreTests.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (src/hotspot/cpu/x86/assembler_x86.cpp:2577), pid=21597, tid=21784
# Error: assert(VM_Version::supports_avx512bw()) failed
#
# JRE version: Java(TM) SE Runtime Environment (19.0) (fastdebug build 19-internal+0-2022-02-09-1405029.emanuel.peter.jdk)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 19-internal+0-2022-02-09-1405029.emanuel.peter.jdk, mixed mode, sharing, compressed class ptrs, z gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x6a44f4] Assembler::kmovql(Address, KRegisterImpl*)+0x194
#
# Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to xxx)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Current CompileTask:
C2: 6215 1774 jdk.incubator.vector.FloatVector$FloatSpecies::maskAll (88 bytes)
Stack: [0x00007efd83afa000,0x00007efd83bfb000], sp=0x00007efd83bf5870, free space=1006k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x6a44f4] Assembler::kmovql(Address, KRegisterImpl*)+0x194
V [libjvm.so+0x1aaf4b8] ZSaveLiveRegisters::ZSaveLiveRegisters(MacroAssembler*, ZLoadBarrierStubC2*)+0x578
V [libjvm.so+0x1aa2291] ZBarrierSetAssembler::generate_c2_load_barrier_stub(MacroAssembler*, ZLoadBarrierStubC2*) const+0x51
V [libjvm.so+0x1ab2332] ZBarrierSetC2::emit_stubs(CodeBuffer&) const+0x112
V [libjvm.so+0x164d38c] PhaseOutput::fill_buffer(CodeBuffer*, unsigned int*)+0x2d6c
V [libjvm.so+0xa9672b] Compile::Code_Gen()+0x42b
V [libjvm.so+0xa9bfcb] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x164b
V [libjvm.so+0x8b29f9] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x669
V [libjvm.so+0xaabdd8] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc88
V [libjvm.so+0xaacbb8] CompileBroker::compiler_thread_loop()+0x668
V [libjvm.so+0x193867a] JavaThread::thread_main_inner()+0x25a
V [libjvm.so+0x19409c0] Thread::call_run()+0x100
V [libjvm.so+0x1623cb4] thread_native_entry(Thread*)+0x104
- backported by
-
JDK-8283830 assert(VM_Version::supports_avx512bw()) failed for Tests jdk/incubator/vector/
- Resolved
-
JDK-8283942 assert(VM_Version::supports_avx512bw()) failed for Tests jdk/incubator/vector/
- Resolved
-
JDK-8284257 assert(VM_Version::supports_avx512bw()) failed for Tests jdk/incubator/vector/
- Resolved
- relates to
-
JDK-8262355 Support for AVX-512 opmask register allocation.
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/6eaf579a
-
Commit openjdk/jdk18u/662ec01d
-
Commit openjdk/jdk/4e0b81c5
-
Review openjdk/jdk17u-dev/299
-
Review openjdk/jdk18u/66
-
Review openjdk/jdk/7510