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

RetransformStress_Test causes "JDWP Error: 113" in jdi.VirtualMachineImpl.redefineClasses() call

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      While I was working on the fix for the following bug:

             6489232 3/4 VM crashes after class class redefining (VM_Operation:
                         change breakpoints)

      I ran into this "JDWP Error: 113" failure mode. While there are several
      unresolved bugs that mention "JDWP Error: 113", I did not find one where
      the error code came from a jdi.VirtualMachineImpl.redefineClasses() call.
      Some of the other bugs that mention "JDWP Error: 113" also mention
      redefineClasses(), but they identify a different failure mode for the
      redefineClasses() call.

      Here is a snippet of the failure:

      Iteration: 29
      Suspend thread
      Enable event requests
      Resume thread
      Event: BreakpointEvent@ClassToRedefine:514 in thread TestThread
      Wait event
      Redefine class
      com.sun.jdi.InternalException: Unexpected JDWP Error: 113
              at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47) at com.sun.tools.jdi.VirtualMachineImpl.redefineClasses(VirtualMachineImpl.java:334)
              at RetransformStress_Test.main(RetransformStress_Test.java:431)
      debuggee out>>>Command received: QUIT
      debuggee out>>>Exit
      Event: VMDeathEvent
      Event: VMDisconnectEvent
      Stop listen events
      Exit code: 95
      TEST FAIL
      status=97

      real 1m0.61s
      user 0m47.68s
      sys 0m5.87s


      The failure always happens on iteration 29 with the version of
      Semen's test that I used for 6489232.

      I've attached the complete log as doit.log.1.

      I use my test setup for 6489232 to reproduce this failure. The latest
      version of the stress test can also be gotten from Semen Boikov.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: