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

JVMPI: GetThreadStatus returns invalid status after SuspendThread

XMLWordPrintable

    • x86
    • windows_nt



      Name: dkC59003 Date: 12/07/99



      1.3fcs-P classic VM's JVMPI function GetThreadStatus returns
      JVMPI_THREAD_RUNNABLE status for a thread which is waiting on a condition
      variable when the thread is suspended/resumed by SuspendThread/ResumeThread
      JVMPI functions.

      To reproduce the bug run
      doit.bat -classic
      in
      GammaBase/Bugs/4293491

      Running on 1.3fcs-P the test outputs:

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-P)
      Classic VM (build 1.3.0-P, native threads, nojit)
      Thread thr1 (8061104) after SuspendThread: status expected: 3, got: 0x1
      Thread thr1 (8061104) after ResumeThread: status expected: 3, got: 0x1

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

            hongzh Hong Zhang
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: