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

Shenandoah crash in mark_loop_work StubRoutines::atomic entry points

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 21
    • hotspot
    • AArch64, 64 cores, 123G, Amazon Linux 2

    • gc
    • aarch64
    • linux

      Sometimes crashes in 21.0.7:

      java -Xms4g -Xmx4g -XX:+UseShenandoahGC renaissance-gpl-0.16.0.jar all -t 300 --no-forced-gc

      While the stack traces do not point directly to async-profiler, it was also attached via "asprof start <PID> -e ctimer,alloc,wall --cstack vm"

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff9aee0064, pid=29134, tid=29146
      #
      # JRE version: OpenJDK Runtime Environment 1.0.1153.0 (21.0.7+7) (build 21.0.7+7-LTS)
      # Java VM: OpenJDK 64-Bit Server VM 1.0.1153.0 (21.0.7+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, shenandoah gc, linux-aarch64)
      # Problematic frame:
      # v ~StubRoutines::atomic entry points 0x0000ffff9aee0064

      ...

      Stack: [0x0000ffffb0331000,0x0000ffffb052f000], sp=0x0000ffffb052d560, free space=2033k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      v ~StubRoutines::atomic entry points 0x0000ffff9aee0064
      V [libjvm.so+0xd4299c] void OopOopIterateDispatch<ShenandoahMarkRefsClosure<(ShenandoahGenerationType)0> >::Table::oop_oop_iterate<InstanceKlass, narrowOop>(ShenandoahMarkRefsClosure<(ShenandoahGenerationType)0>*, oopDesc*, Klass*)+0x3c
      V [libjvm.so+0xd390a4] void ShenandoahMark::mark_loop_work<ShenandoahMarkRefsClosure<(ShenandoahGenerationType)0>, (ShenandoahGenerationType)0, false, (StringDedupMode)0>(ShenandoahMarkRefsClosure<(ShenandoahGenerationType)0>*, unsigned short*, unsigned int, TaskTerminator*, StringDedup::Requests*) [clone .isra.0]+0x274
      V [libjvm.so+0xd3ea20] ShenandoahMark::mark_loop(unsigned int, TaskTerminator*, ShenandoahReferenceProcessor*, ShenandoahGenerationType, bool, StringDedupMode, StringDedup::Requests*)+0x2040
      V [libjvm.so+0xd6b0fc] ShenandoahSTWMarkTask::work(unsigned int)+0xdc
      V [libjvm.so+0xf226f8] WorkerThread::run()+0x98
      V [libjvm.so+0xe77ec8] Thread::call_run()+0xa8
      V [libjvm.so+0xbff1fc] thread_native_entry(Thread*)+0xdc
      C [libpthread.so.0+0x7230] start_thread+0xb0

            wkemper William Kemper
            krk Kerem Kat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: