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

test resumethread002 causes java hangs

XMLWordPrintable

    • rc1
    • x86
    • windows_nt
    • Verified



        Name: icC57033 Date: 03/15/2000


        The Hotspot VM build 1.3.0rc2-W for win32 hangs while executing the test
                nsk/jvmpi/ResumeThread/resumethread002
        from
                testbase_nsk
        java and java_g pass the test in -Xint mode

        To reproduce the bug run Korn shell script
                doit.ksh <jdk_root_directory>
        in
                /net/sqesvr/vsn/GammaBase/Bugs/<this bug number>

        The script produces the output:
        java version "1.3.0rc2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc2-W)
        Java HotSpot(TM) Client VM (build 1.3.0rc2-W, mixed mode)
        ------------------------ java -------------------------------
        ########### threads count: 32 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 64 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 128 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 256 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 512 ############
        Event: JVMPI_EVENT_GC_START
        Event: JVMPI_EVENT_GC_FINISH
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 1024 ############
        Try suspend threads
        HANGS...
        ------------------------ java_g ---------------------------------
        ########### threads count: 32 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 64 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 128 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 256 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 512 ############
        Event: JVMPI_EVENT_GC_START
        Event: JVMPI_EVENT_GC_FINISH
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 1024 ############
        Try suspend threads
        HANGS...
        ------------------------ java -classic --------------------------
        ########### threads count: 32 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 64 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 128 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 256 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 512 ############
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        ########### threads count: 1024 ############
        Event: JVMPI_EVENT_GC_START
        Event: JVMPI_EVENT_GC_FINISH
        Try suspend threads
        Try resume threads
        Check threads's states
        OK
        exit 95

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

              acorn Karen Kinnear (Inactive)
              ichebykisunw Igor Chebykin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: