JDK-6544614 : RetransformStress_Test causes "JDWP Error: 113" in jdi.VirtualMachineImpl.redefineClasses() call
  • Type: Bug
  • Component: hotspot
  • Sub-Component: jvmti
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2007-04-10
  • Updated: 2023-12-13
  • Resolved: 2016-11-04
Related Reports
Duplicate :  
Relates :  
Relates :  
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.

Comments
This is not on our list of current priorities. If this changes, please reopen this issue.
04-11-2016