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

GetAllThreads returns dead thread

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified



        Name: dkC59003 Date: 03/02/2000



        Kestrel HotSpot build 1.3rc2-V fails the test
        nsk/jvmdi/GetAllThreads/allthr001 from testbase_nsk.
        The test calls the function GetAllThreads right after a user-defined
        thread thread1 finished and the returned array contains the reference
        to thread1 which is dead.
        This was intermittently observed on winNT.
        Running the test on Solaris shows a similar problem: GetAllThreads does not
        return a thread which is just started.

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

        When running on winNT the test outputs:

        >doit G:\ld24\java\hotspot\jdk1.3.0\win32
        ...
        java version "1.3.0rc1"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-U)
        Java HotSpot(TM) Client VM (build 1.3.0rc2-V, mixed mode)
        Point 1:
          thread1
          Signal Dispatcher
          Finalizer
          Reference Handler
          main
        Point 2:
          thread1
          Signal Dispatcher
          Finalizer
          Reference Handler
          main

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

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: