Running test/compiler/arraycopy/TestInstanceCloneAsLoadsStores.java with -XX:-ReduceInitialCardMarks crashes the VM with the following assert:
# Internal Error (/oracle/full_jdk_build/hotspot/src/share/vm/opto/macro.cpp:266), pid=28313, tid=28333
# assert(xorx != __null) failed: missing G1 post barrier
Current CompileTask:
C2: 4177 735 b 4 TestInstanceCloneAsLoadsStores::m2 (34 bytes)
Stack: [0x00007fa9fc2fe000,0x00007fa9fc3ff000], sp=0x00007fa9fc3f9540, free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x13c7d2f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x18f
V [libjvm.so+0x13c8a9a] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x4a
V [libjvm.so+0x9496ca] report_vm_error(char const*, int, char const*, char const*, ...)+0xea
V [libjvm.so+0xf284c1] PhaseMacroExpand::eliminate_card_mark(Node*)+0x811
V [libjvm.so+0xf2aefb] PhaseMacroExpand::process_users_of_allocation(CallNode*)+0x3ab
V [libjvm.so+0xf32c4a] PhaseMacroExpand::eliminate_allocate_node(AllocateNode*)+0x3ea
V [libjvm.so+0xf3317c] PhaseMacroExpand::eliminate_macro_nodes()+0x3bc
V [libjvm.so+0x8cf7ab] Compile::Optimize()+0xa7b
# Internal Error (/oracle/full_jdk_build/hotspot/src/share/vm/opto/macro.cpp:266), pid=28313, tid=28333
# assert(xorx != __null) failed: missing G1 post barrier
Current CompileTask:
C2: 4177 735 b 4 TestInstanceCloneAsLoadsStores::m2 (34 bytes)
Stack: [0x00007fa9fc2fe000,0x00007fa9fc3ff000], sp=0x00007fa9fc3f9540, free space=1005k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x13c7d2f] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x18f
V [libjvm.so+0x13c8a9a] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x4a
V [libjvm.so+0x9496ca] report_vm_error(char const*, int, char const*, char const*, ...)+0xea
V [libjvm.so+0xf284c1] PhaseMacroExpand::eliminate_card_mark(Node*)+0x811
V [libjvm.so+0xf2aefb] PhaseMacroExpand::process_users_of_allocation(CallNode*)+0x3ab
V [libjvm.so+0xf32c4a] PhaseMacroExpand::eliminate_allocate_node(AllocateNode*)+0x3ea
V [libjvm.so+0xf3317c] PhaseMacroExpand::eliminate_macro_nodes()+0x3bc
V [libjvm.so+0x8cf7ab] Compile::Optimize()+0xa7b
- relates to
-
JDK-8176505 Wrong assertion 'should be an array copy/clone' in arraycopynode.cpp
-
- Resolved
-
-
JDK-8155643 Java crash with assert in Xcomp mode and disabled ReduceInitialCardMarks
-
- Resolved
-