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

JVMPI: GetThreadStatus returns THREAD_RUNNABLE instead of MONITOR_WAIT

XMLWordPrintable

    • kestrel
    • x86
    • windows_nt
    • Not verified



      Name: dkC59003 Date: 11/09/99



      HotSpot Kestrel 1.3fcs-O JVMPI function GetThreadStatus returns
      JVMPI_THREAD_RUNNABLE status for a thread which is waiting on a monitor.
      To reproduce the bug run doit.bat in
      GammaBase/Bugs/<this bug number>
      Classic passes the test (doit -classic).

      Running on HS 1.3fcs-O the test outputs:

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-N)
      Java HotSpot(TM) Client VM (build 1.3-O, mixed mode)
      MONITOR_CONTENDED_ENTER: thread: 7828348
      Thread thr1(7828348): status expected: 2, got: 1

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: