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

GetThreadStatus seems to return nothing but STATUS_UNKNOWN

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 12/17/99



      HotSpot Kestrel 1.3fcs-R (Win32) JVMDI function GetThreadStatus returns
      JVMDI_THREAD_STATUS_UNKNOWN status for a thread which is either running,
      waiting on a monitor or waiting after wait() has been called.
      Note that classic returns expected values.

      To reproduce the bug run
      doit.bat <jdk root directory>
      in
      GammaBase/Bugs/<this bug number>
      Classic passes the test (doit.bat <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-Q)
      Java HotSpot(TM) Client VM (build 1.3-R, mixed mode)

      thread started
      Thread thr1 (7851392): status expected: 3, got: -1
      Thread thr1 (7851392): status expected: 1, got: -1
      Thread thr1 (7851392): status expected: 4, 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: