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

Out of order with Metaspace allocation lock

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b44
    • Verification:
      Verified

      Backports

        Description

        fatal error: acquiring lock DirtyCardQ_CBL_mon/16 out of order with lock Metaspace allocation lock/5 -- possible deadlock

        V [libjvm.so+0xa8e658] VMError::report_and_die()+0x198;; VMError::report_and_die()+0x198
        V [libjvm.so+0x3c6be9] report_fatal(char const*, int, char const*)+0x79;; report_fatal(char const*, int, char const*)+0x79
        V [libjvm.so+0x84a227] Monitor::set_owner_implementation(Thread*)+0x247;; Monitor::set_owner_implementation(Thread*)+0x247
        V [libjvm.so+0x84a5b2] Monitor::lock_without_safepoint_check()+0x82;; Monitor::lock_without_safepoint_check()+0x82
        V [libjvm.so+0x924264] PtrQueueSet::enqueue_complete_buffer(void**, unsigned int)+0x24;; PtrQueueSet::enqueue_complete_buffer(void**, unsigned int)+0x24
        V [libjvm.so+0x92472a] PtrQueue::enqueue_known_active(void*)+0x1ca;; PtrQueue::enqueue_known_active(void*)+0x1ca
        V [libjvm.so+0x31c974] objArrayOopDesc::obj_at_put(int, oop)+0x324;; objArrayOopDesc::obj_at_put(int, oop)+0x324
        V [libjvm.so+0x3c4680] ConstantPoolCacheEntry::set_method_handle_common(constantPoolHandle, Bytecodes::Code, CallInfo const&)+0x6d0;; ConstantPoolCacheEntry::set_method_handle_common(constantPoolHandle, Bytecodes::Code, CallInfo const&)+0x6d0
        V [libjvm.so+0x3c51bc] ConstantPoolCacheEntry::set_dynamic_call(constantPoolHandle, CallInfo const&)+0x10c;; ConstantPoolCacheEntry::set_dynamic_call(constantPoolHandle, CallInfo const&)+0x10c
        V [libjvm.so+0x57ea28] InterpreterRuntime::resolve_invokedynamic(JavaThread*)+0x768;; InterpreterRuntime::resolve_invokedynamic(JavaThread*)+0x768

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  coleenp Coleen Phillimore
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: