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

JVMDI: some functions do not detect not-suspended thread

XMLWordPrintable

    • generic
    • generic



      Name: dkC59003 Date: 02/01/2000



      Kestrel classic VM, build 1.3rc1-T (both win32 and Solaris) fails the test
      nsk/jvmdi/GetFrameCount/framecnt002 from testbase_nsk.
      The function GetFrameCount erroneously returns error code
      JVMDI_ERROR_NONE when is called for the thread which is not the current
      thread and is not suspended. According to the spec, the expected result
      is JVMDI_ERROR_THREAD_NOT_SUSPENDED.
      Kestrel HotSpot VM passes the test.

      To reproduce the bug run
      doit.bat <jdk root directory> -classic
      or
      doit.sh <jdk root directory> -classic
      in
      /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

      When running on Solaris the test outputs:

      $ doit.sh /export/ld25/java/dest/jdk1.3.0T/solaris -classic
      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Classic VM (build 1.3.0rc1-T, green threads, nojit)

      Error code expected: 13, got: 0
        
      ======================================================================

      Name: dkC59003 Date: 02/03/2000


      The same is true also for GetCurrentFrame function.


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

            ghirschsunw Gordon Hirsch (Inactive)
            dkhukhrosunw Dmitry Khukhro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: