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

threadstart002: suspend/resume fails with intermediate DeleteGlobalRef call

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      generic, x86
    • OS:
      linux, solaris_8
    • Verification:
      Verified

      Backports

        Description

        Name: pvR10198 Date: 03/25/2002


        The Hotspot VM (build 1.4.1-beta-b06) fails the following test
        from testbase_nsk:

            nsk/jvmdi/events/threadstart002

        The test passes on Windows and fails on all other platforms.
        The test fails since 1.4.1-beta-b03, and works fine with 1.4.1-beta-b02
        as well as with 1.4.0-fcs.

        This is a regression test for the following bug:

            4432884 jdbx does not work with jdk 1.3.1 starting with
                    rc1 build 19 onwards

        The test runs a debugger agent in a separate thread that operates
        on behalf of other threads, so when it gets a jvmdi_thread_start_event,
        the debugger agent suspends the new thread and then
        calls jni_DeleteGlobalRef with a jnienv * for that new thread.
        Then the test resumes the thread and examines the thread
        suspend status.

        To reproduce the bug run in GammaBase/Bugs/<this bug number> directory:

            sh doit.sh <JAVA_HOME>

        Running the test outputs:

        java version "1.4.1-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-beta-b06)
        Java HotSpot(TM) Client VM (build 1.4.1-beta-b06, mixed mode)
        "Signal Dispatcher" was self-suspended
        FATAL ERROR in native method: could not recover
        Exit Code: 1
        ======================================================================

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dcubed Daniel Daugherty
                Reporter:
                vpnsunw Vpn Vpn (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: