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

JVMPI: assertion failure: "A Java thread must hold threads lock"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Not verified

      Description



      Name: dkC59003 Date: 11/22/99



      HotSpot 1.3fcs-P fails to pass nsk/jvmpi/GetThreadStatus/thrstat002
      test from testbase_nsk in debug mode.
      Running the test crashes VM with assertion failure "A Java thread must hold threads
      lock".
      This is observed on both winNT and win98.
      Note that java also fails the test revealing the bug #4292726.

      To reproduce the bug run doit.bat in
      GammaBase/Bugs/<this bug number>

      Running on winNT the test outputs:

      Thread thr1 (7070376) after SuspendThread: status expected: 2, got: 0x8001
      #
      # HotSpot Virtual Machine Error, assertion failure
      #
      # assert(Thread::current()->is_jvmpi_daemon_thread() ||
      !Thread::current()->is_Java_thread() ||
      Threads_lock->owned_by_self(), "A Java thread must hold threads lock")
      #
      # Error ID: C:/hotspot\src\share\vm\runtime\thread.cpp, 186
      #

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              smitrovisunw Srdjan Mitrovic (Inactive)
              Reporter:
              dkhukhrosunw Dmitry Khukhro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: