Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8200288

Compilation fails with "assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed" on SPARC

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b21
    • Introduced In Version:
      10
    • Resolved In Build:
      b17
    • CPU:
      sparc

      Backports

        Description

        Running java -Xcomp -version on a SPARC64 VII+ crashes with:

        # Internal Error (/opt/mach5/mesos/work_dir/dad84d60-43ed-43c1-9bcf-edc21fbc9d77/workspace/open/src/hotspot/cpu/sparc/assembler_sparc.cpp:52), pid=14181, tid=15
        # assert(!(is_cti(prev) && is_cti(insn))) failed: CTI-CTI not allowed.

        Current CompileTask:
        C1: 322 1 b 3 java.lang.invoke.MethodHandle::<clinit> (30 bytes)

        Stack: [0xffffffff77600000,0xffffffff77700000], sp=0xffffffff776fe290, free space=1016k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x1de4ae0] void VMError::report_and_die(int,const char*,const char*,void*,Thread*,unsigned char*,void*,void*,const char*,int,unsigned long)+0x940
        V [libjvm.so+0x1de412c] void VMError::report_and_die(Thread*,const char*,int,const char*,const char*,void*)+0x3c
        V [libjvm.so+0xd6d248] void report_vm_error(const char*,int,const char*,const char*,...)+0x78
        V [libjvm.so+0x8b6a10] void Assembler::validate_no_pipeline_hazards()+0x340
        V [libjvm.so+0x93fe20] void Compilation::emit_code_epilog(LIR_Assembler*)+0x110
        V [libjvm.so+0x940088] int Compilation::emit_code_body()+0x158
        V [libjvm.so+0x940848] int Compilation::compile_java_method()+0x6d8
        V [libjvm.so+0x940d84] void Compilation::compile_method()+0x284
        V [libjvm.so+0x9420f0] Compilation::Compilation #Nvariant 1(AbstractCompiler*,ciEnv*,ciMethod*,int,BufferBlob*,DirectiveSet*)+0x390
        V [libjvm.so+0x94672c] void Compiler::compile_method(ciEnv*,ciMethod*,int,DirectiveSet*)+0x22c
        V [libjvm.so+0xcde138] void CompileBroker::invoke_compiler_on_method(CompileTask*)+0x708
        V [libjvm.so+0xcdcf0c] void CompileBroker::compiler_thread_loop()+0x2ec
        V [libjvm.so+0x1cfe1b4] void JavaThread::thread_main_inner()+0x2e4
        V [libjvm.so+0x1cfdea4] void JavaThread::run()+0x374
        V [libjvm.so+0x19b7854] thread_native_entry+0x2e4

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  phedlin Patric Hedlin
                  Reporter:
                  thartmann Tobias Hartmann
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: