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

GetThreadStatus returns THREAD_RUNNABLE instead of CONDVAR_WAIT (win32)

XMLWordPrintable

    • beta
    • x86
    • windows_nt
    • Not verified


        HotSpot Ladybird 1.3.1-b1 JVMPI function GetThreadStatus returns
        JVMPI_THREAD_RUNNABLE status for a thread, which is waiting on a conditional
        variable, in compiled mode (test nsk/jvmpi/GetThreadStatus/thrstat001 from
        the testbase_nsk). The bug occurs intermittently.
        This does not happen on Solaris-Sparc.
        The bug is similar to this one:
        4289494 JVMPI: GetThreadStatus returns THREAD_RUNNABLE instead of MONITOR_WAIT
        which was integrated in Kestrel on 11/24/99.

        To reproduce the bug run
        doit.bat <jdk root directory> -Xcomp
        in
        /net/sqesvr/export/vsn/GammaBase/Bugs/4376829

        The test produces the output:

        > doit g:/ld25/java/dest/jdk1.3.1-b1/win
        java version "1.3.1ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1ea-b01)
        Java HotSpot(TM) Client VM (build 1.3.1ea-b01-debug, compiled mode)
        Thread thr1 (7966564): status expected: 3, got: 1

              acorn Karen Kinnear (Inactive)
              ipsunw Ip Ip (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: