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

PrintSystemDictionaryAtExit has mutex rank assert

    XMLWordPrintable

Details

    • b07

    Backports

      Description

        The change for JDK-8317440 lowered the rank of the ConcurrentHashtableResize_lock, but now it's lower than tty. This makes PrintSystemDictionaryAtExit assert with:

        # Internal Error (/scratch/cphillim/hg/jdk-linkage/open/src/hotspot/share/runtime/mutex.cpp:447), pid=2821830, tid=2821831
        # assert(false) failed: Attempting to acquire lock tty_lock/tty out of order with lock ConcurrentHashTableResize_lock/service-1 -- possible deadlock

        At the time of JDK-8317440 we discussed having each CHT have their own resize lock ranking specified on construction. We should have done that.

        Attachments

          Issue Links

            Activity

              People

                coleenp Coleen Phillimore
                coleenp Coleen Phillimore
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: