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

Lock rank checking fails when code root set is modified with the Servicelock held after JDK-8315503

    XMLWordPrintable

Details

    • gc
    • b19
    • Verified

    Backports

      Description

        I ran tier7 testing with JDK 22 and hit this issue on Windows-x64:

        # Internal Error (\\workspace\\open\\src\\hotspot\\share\\runtime\\mutex.cpp:448), pid=7148, tid=38704
        # assert(false) failed: Attempting to acquire lock ConcurrentHashTableResize_lock/nosafepoint-3 out of order with lock Service_lock/service -- possible deadlock
        #
        # JRE version: Java(TM) SE Runtime Environment (22.0) (fastdebug build 22-internal-2023-10-02-1945520.vladimir.kozlov.jdkgit)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 22-internal-2023-10-02-1945520.vladimir.kozlov.jdkgit, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

        It could be caused by JDK-8315503.

        Attachments

          Issue Links

            Activity

              People

                tschatzl Thomas Schatzl
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: