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

GetThreadStatus returns STATUS_RUNNING instead of STATUS_MONITOR

XMLWordPrintable

    • sparc
    • solaris_7



      Name: dkC59003 Date: 12/23/99



      HotSpot 1.3fcs-R (Solaris) JVMDI function GetThreadStatus returns
      JVMDI_THREAD_STATUS_RUNNING status for a thread which is waiting on a monitor.

      To reproduce the bug run
      doit.sh <jdk root directory>
      in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>
      Classic passes the test (doit.sh <jdk root directory> -classic).

      Running on HS 1.3fcs-R the test outputs:

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-R)
      Java HotSpot(TM) Client VM (build 1.3-R, interpreted mode)

      Thread thr1 (224620): status expected: 3, got: 1

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

            dcubed Daniel Daugherty
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: