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

GetThreadStatus erroneously returns SUSPENDED_STATUS_BREAK bit

XMLWordPrintable

    • sol-rc1
    • sparc
    • solaris_7
    • Not verified



      Name: dkC59003 Date: 12/23/99



      HotSpot 1.3fcs-R (Solaris) JVMDI function GetThreadStatus returns invalid value
      of suspend status (in it's third parameter suspendStatusPtr) for a thread which
      is not suspended. The value is 0x2 although no breakpoints are set.

      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 (218300): suspend status expected: 0, got: 0x2
      Thread thr1 (218300): suspend status expected: 0, got: 0x2

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: