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

Client VM misses exception events of ThreadDeath and InterruptedException

XMLWordPrintable

    • generic
    • generic

      Name: pvR10198 Date: 05/18/2004


      ---------------------------------------------------
      Tests : nsk/jvmti/scenarios/multienv/MA08/ma08t001
                    nsk/jvmti/scenarios/multienv/MA08/ma08t001s
      VM : ClientVM
      Mode : -Xcomp
      Platform : generic
      OS : generic
      JDK : 1.5.0-beta2-b51
      ---------------------------------------------------

      The ma08t001s test is a simplified version of the ma08t001 test which
      starts a single JVMTI agent.

      The test starts VM with agent which possesses capabilities can_signal_thread
      and can_generate_exception_events and sets callback for Exception event.
      Then the test kills a Java thread by StopThread call and interrupts another
      Java thread by InterruptThread call, and finally checks if the expected
      exception events of ThreadDeath and InterruptedException are received by
      the agent.

      The test fails with clientVM on all platforms in -Xcomp mode.
      The test passes with clientVM on all platforms in all other modes.
      The test passes with serverVM on all platforms in all modes.

      To reproduce the test failure run doit.sh script in
      GammaBase/Bugs/<this bug number> directory:

          sh doit.sh <JAVA_HOME> <java_options>

      Running the test outputs:

      $ sh doit.sh $JDK15/solsparc -Xcomp

      java version "1.5.0-beta2"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
      Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, compiled mode)

      # ERROR: ma08t001s.c, 207: ThreadDeath event missed
      # ERROR: ma08t001s.c, 214: InterruptedException event missed
      Exit Code: 97
      ======================================================================

            sspitsyn Serguei Spitsyn
            vpnsunw Vpn Vpn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: