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

GetThreadStatus returns STATUS_RUNNING instead of STATUS_MONITOR

XMLWordPrintable

    • sol-rc1
    • x86, sparc
    • solaris_7, windows_nt
    • Verified



        Name: dkC59003 Date: 12/17/99



        HotSpot Kestrel 1.3fcs-R (Solaris) JVMDI function GetThreadStatus returns
        JVMDI_THREAD_STATUS_RUNNING status for a thread which is waiting on a monitor.
        Due to this bug HotSpot fails /nsk/jvmdi/GetThreadStatus/thrstat001 test
        from testbase_nsk.

        To reproduce the bug run
        doit.sh <jdk root directory>
        in
        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-Q)
        Java HotSpot(TM) Client VM (build 1.3-R, interpreted mode)

        thread started
        Thread thr1 (593164): status expected: 3, got: 1

        ======================================================================
        jon.masamitsu@Eng 2000-01-27

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: