-
Bug
-
Resolution: Fixed
-
P2
-
17, 18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8272644 | 17.0.2 | Tobias Hartmann | P2 | Resolved | Fixed | b01 |
JDK-8272678 | 17.0.1 | Tobias Hartmann | P2 | Closed | Fixed | b08 |
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (workspace/open/src/hotspot/share/gc/z/c2/zBarrierSetC2.cpp:278), pid=391777, tid=391820
# assert(StressReflectiveCode) failed: Guard against surprises
#
# JRE version: Java(TM) SE Runtime Environment (18.0+6) (fastdebug build 18-ea+6-191)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-ea+6-191, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1a0eaec] ZBarrierSetC2::clone_at_expansion(PhaseMacroExpand*, ArrayCopyNode*) const+0xa4c
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport %p %s %c %d %P %E" (or dumping to /oracle/jdk/open/JTwork/scratch/core.391777)
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
#
Current CompileTask:
C2: 871 21 !b 4 jdk.internal.reflect.GeneratedMethodAccessor1::invoke (61 bytes)
Stack: [0x00007f362d436000,0x00007f362d537000], sp=0x00007f362d532350, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1a0eaec] ZBarrierSetC2::clone_at_expansion(PhaseMacroExpand*, ArrayCopyNode*) const+0xa4c
V [libjvm.so+0x13356a6] PhaseMacroExpand::expand_arraycopy_node(ArrayCopyNode*)+0x206
V [libjvm.so+0x1325f3d] PhaseMacroExpand::expand_macro_nodes()+0xe5d
V [libjvm.so+0xa0d7b5] Compile::Optimize()+0x16c5
V [libjvm.so+0xa0f168] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x1618
V [libjvm.so+0x82c316] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x646
V [libjvm.so+0xa1fbe9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xef9
V [libjvm.so+0xa20918] CompileBroker::compiler_thread_loop()+0x598
V [libjvm.so+0x188af5c] JavaThread::thread_main_inner()+0x27c
V [libjvm.so+0x1891700] Thread::call_run()+0x100
V [libjvm.so+0x156f284] thread_native_entry(Thread*)+0x104
This was introduced in JDK 17 by
- backported by
-
JDK-8272644 ZGC: ZBarrierSetC2::clone_at_expansion fails with "Guard against surprises" assert
-
- Resolved
-
-
JDK-8272678 ZGC: ZBarrierSetC2::clone_at_expansion fails with "Guard against surprises" assert
-
- Closed
-
- relates to
-
JDK-8332959 C2: ZGC fails with 'Incorrect load shift' when invoking Object.clone() reflectively on an array
-
- Resolved
-
-
JDK-8268125 ZGC: Clone oop array gets wrong acopy stub
-
- Closed
-
- links to
-
Commit openjdk/jdk17u/52c3e7dc
-
Commit openjdk/jdk/2384e128
-
Review openjdk/jdk17u/16
-
Review openjdk/jdk/5048