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

[Graal] "mark->biased_locker() == __the_thread__ && prototype_header->bias_epoch() == mark->bias_epoch()" assertion on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 13
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      vmTestbase/nsk/jdwp/ThreadGroupReference/Children/children001/TestDescription.java crashed on Windows when running in Graal as JIT mode.

      # Internal Error (t:/workspace/open/src/hotspot/share/runtime/biasedLocking.cpp:641), pid=23648, tid=14100
      # assert(mark->biased_locker() == __the_thread__ && prototype_header->bias_epoch() == mark->bias_epoch()) failed: Revoke failed, unhandled biased lock state

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

      Current thread (0x0000001c5bce2000): VMThread "VM Thread" [stack: 0x0000001c5c6f0000,0x0000001c5c7f0000] [id=14100] _threads_hazard_ptr=0x0000001c5cee0a90, _nested_threads_hazard_ptr_cnt=0

      Stack: [0x0000001c5c6f0000,0x0000001c5c7f0000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xad4f61] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:369)
      V [jvm.dll+0xcd8f51] VMError::report+0xea1 (vmerror.cpp:703)
      V [jvm.dll+0xcda7ae] VMError::report_and_die+0x87e (vmerror.cpp:1498)
      V [jvm.dll+0xcdae34] VMError::report_and_die+0x64 (vmerror.cpp:1295)
      V [jvm.dll+0x50b302] report_vm_error+0x102 (debug.cpp:264)
      V [jvm.dll+0x2d50ae] BiasedLocking::revoke_own_locks_in_handshake+0xfe (biasedlocking.cpp:640)
      V [jvm.dll+0x5194e5] Deoptimization::deopt_thread+0x1b5 (deoptimization.cpp:1374)
      V [jvm.dll+0x519750] Deoptimization::deoptimize+0x50 (deoptimization.cpp:1356)
      V [jvm.dll+0xc78a62] JavaThread::deoptimize_marked_methods+0xe2 (thread.cpp:2839)
      V [jvm.dll+0x67ed39] HandshakeThreadsOperation::do_handshake+0x189 (handshake.cpp:248)
      V [jvm.dll+0x67f1ff] VM_HandshakeAllThreads::doit+0x36f (handshake.cpp:193)
      V [jvm.dll+0xcdbf3e] VM_Operation::evaluate+0xbe (vmoperations.cpp:71)
      V [jvm.dll+0xce1058] VMThread::evaluate_operation+0xb8 (vmthread.cpp:412)
      V [jvm.dll+0xce1dbf] VMThread::loop+0x84f (vmthread.cpp:622)
      V [jvm.dll+0xce24d8] VMThread::run+0xd8 (vmthread.cpp:311)
      V [jvm.dll+0xc75ff2] Thread::call_run+0x192 (thread.cpp:404)
      V [jvm.dll+0xad3a6e] thread_native_entry+0x10e (os_windows.cpp:471)
      C [ucrtbase.DLL+0x203ba]
      C [KERNEL32.DLL+0x13d2]
      C [ntdll.dll+0x154f4]

      VM_Operation (0x0000001c661ac550): HandshakeAllThreads, mode: safepoint, requested by thread 0x0000001c5cdd1800

      The flags to use to run the test are:
       -ea -esa -server -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler -Djvmci.Compiler=graal -XX:+TieredCompilation

      But I doubt the issue is test specific.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kvn Vladimir Kozlov
              Reporter:
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: