[aarch64-port-dev ] Another hotspot test failure

Andy Johnson andy.johnson at linaro.org
Wed Sep 4 07:15:49 PDT 2013


Test hotspot/test/compiler/8007722/Test8007722.java fails on aarch64 with
the following error:
Internal Error
(/home/andyj/openjdk-8/jdk8/hotspot/src/share/vm/c1/c1_LIR.hpp:93)
 assert(type() == t1 || type() == t2) failed: type check

The type() is 11 (long), t1 is 10 (int) and t2 is 15 (address).  I can only
find one instance of a call to LIR_Const::type_check(BasicType, BasicType)
from arith_op, and that's in as_jint(), which is called at line 1716 in
c1_LIRAssembler_aarch64.cpp.  The operand in question is a constant.  The
only constant value in the "test" method is 5.  Why is it of type long?

This is the stack trace:
Stack: [0x0000007f80bb7000,0x0000007f80db7000],  sp=0x0000007f80db3cd0,
free space=2035k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
code)
V  [libjvm.so+0x819fb4]  VMError::report_and_die()+0x148
V  [libjvm.so+0x3209f8]  report_vm_error(char const*, int, char const*,
char const*)+0x74
V  [libjvm.so+0x13feac]  LIR_Const::type_check(BasicType, BasicType)
const+0x120
V  [libjvm.so+0x1919a0]  LIR_Assembler::arith_op(LIR_Code, LIR_OprDesc*,
LIR_OprDesc*, LIR_OprDesc*, CodeEmitInfo*, bool)+0x6e4
V  [libjvm.so+0x18ba4c]  LIR_Assembler::emit_lir_list(LIR_List*)+0x78
V  [libjvm.so+0x18bfdc]  LIR_Assembler::emit_block(BlockBegin*)+0xfc
V  [libjvm.so+0x18c114]  LIR_Assembler::emit_code(BlockList*)+0x9c
V  [libjvm.so+0x142490]  Compilation::emit_code_body()+0x138
V  [libjvm.so+0x1427f8]  Compilation::compile_java_method()+0x238
V  [libjvm.so+0x142ab8]  Compilation::compile_method()+0x58
V  [libjvm.so+0x142d7c]  Compilation::Compilation(AbstractCompiler*,
ciEnv*, ciMethod*, int, BufferBlob*)+0x184
V  [libjvm.so+0x144334]  Compiler::compile_method(ciEnv*, ciMethod*,
int)+0x12c
V  [libjvm.so+0x2bfe78]
CompileBroker::invoke_compiler_on_method(CompileTask*)+0xc70
V  [libjvm.so+0x2c0d74]  CompileBroker::compiler_thread_loop()+0x9f0
V  [libjvm.so+0x7d083c]  JavaThread::thread_main_inner()+0x198
V  [libjvm.so+0x6ab5f0]  java_start(Thread*)+0x154
C  [libpthread.so.0+0x7b24]  __pthread_get_minstack+0x1344


Current CompileTask:
C1:   6211   24    b        Test8007722::test (23 bytes)



More information about the aarch64-port-dev mailing list