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

Shenandoah:SBSA::gen_load_reference_barrier_stub() should use pointer register for address on aarch64

XMLWordPrintable

    • gc
    • b21
    • aarch64

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/zgu/jdk/src/hotspot/share/c1/c1_LIR.hpp:414), pid=37925, tid=37939
      # assert(is_double_cpu() && !is_virtual()) failed: type check
      #
      # JRE version: OpenJDK Runtime Environment (14.0) (fastdebug build 14-internal+0-adhoc.zgu.jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 14-internal+0-adhoc.zgu.jdk, mixed mode, sharing, tiered, compressed oops, shenandoah gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x592174] LIR_OprDesc::as_register_lo() const+0x50
      #
      # Core dump will be written. Default location: /home/zgu/core.37925
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      --------------- S U M M A R Y ------------

      Command Line: -XX:+UnlockDiagnosticVMOptions -XX:MaxRAMFraction=46 -XX:MinRAMFraction=46 -XX:CICompilerCount=4 -XX:ParallelGCThreads=4 -XX:ConcGCThreads=4 -XX:G1ConcRefinementThreads=4 -XX:-RestrictContended -XX:+WhiteBoxAPI -Xbootclasspath/a:/tmp/whitebox16617650170786884074.jar -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC -XX:+UnlockDiagnosticVMOptions -XX:ShenandoahGCHeuristics=aggressive -XX:+ShenandoahVerifyOptoBarriers org.openjdk.jcstress.ForkedMain 127.0.0.1 34651 fork-token-297

      Host: merino.lab2.eng.bos.redhat.com, AArch64, 46 cores, 95G, Red Hat Enterprise Linux Server release 7.6 (Maipo)
      Time: Tue Oct 29 11:10:36 2019 EDT elapsed time: 29 seconds (0d 0h 0m 29s)

      --------------- T H R E A D ---------------

      Current thread (0x0000ffff80364000): JavaThread "C1 CompilerThread0" daemon [_thread_in_native, id=37939, stack(0x0000ffff616a0000,0x0000ffff618a0000)]


      Current CompileTask:
      C1: 29317 1619 2 java.lang.invoke.VarHandleReferences$Array::getAndSet (51 bytes)

      Stack: [0x0000ffff616a0000,0x0000ffff618a0000], sp=0x0000ffff6189bef0, free space=2031k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x592174] LIR_OprDesc::as_register_lo() const+0x50
      V [libjvm.so+0x12b0cdc] ShenandoahBarrierSetAssembler::gen_load_reference_barrier_stub(LIR_Assembler*, ShenandoahLoadReferenceBarrierStub*)+0x78
      V [libjvm.so+0x5a04e8] LIR_Assembler::emit_stubs(CodeStubList*)+0x188
      V [libjvm.so+0x54bcf8] Compilation::emit_code_epilog(LIR_Assembler*)+0x3c
      V [libjvm.so+0x54eb70] Compilation::emit_code_body()+0x2a0
      V [libjvm.so+0x54ee80] Compilation::compile_java_method()+0x280
      V [libjvm.so+0x54f184] Compilation::compile_method()+0xa4
      V [libjvm.so+0x54f5a4] Compilation::Compilation(AbstractCompiler*, ciEnv*, ciMethod*, int, BufferBlob*, DirectiveSet*)+0x1fc
      V [libjvm.so+0x5506b8] Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x18c
      V [libjvm.so+0x7c7e74] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x418
      V [libjvm.so+0x7c8e24] CompileBroker::compiler_thread_loop()+0x4ac
      V [libjvm.so+0x14a1688] JavaThread::thread_main_inner()+0x2b0
      V [libjvm.so+0x14a99c0] JavaThread::run()+0x284
      V [libjvm.so+0x14a6ef4] Thread::call_run()+0x108
      V [libjvm.so+0x111e754] thread_native_entry(Thread*)+0x118
      C [libpthread.so.0+0x7c48] start_thread+0xb4

            zgu Zhengyu Gu
            zgu Zhengyu Gu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: