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

JDI stress/serial/mixed002 needs to use WhiteBox.deflateIdleMonitors support

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: core-svc
    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK15 CI:

      vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java

      Here's a snippet from the log file:

      Thread state: 0
      Debugger nsk.jdi.ThreadReference.forceEarlyReturn.forceEarlyReturn003.forceEarlyReturn003@584cc551 finished successfully
      debugee.stderr> Debuggee: received the command: quit
      debugee.stderr> Debuggee: exiting
      debugee.stderr> Debuggee nsk.share.jdi.AbstractJDIDebuggee@4e515669 finished successfully
      debugee.stderr> Debuggee nsk.share.jdi.SerialExecutionDebuggee : sending the command: ready
      debugee.stderr> Debuggee: received the command: COMMAND_CLEAR_DEBUGGEE
      debugee.stderr> Debuggee nsk.share.jdi.SerialExecutionDebuggee : sending the command: ready
      Execute debugger: nsk.jdi.ThreadReference.ownedMonitorsAndFrames.ownedMonitorsAndFrames001.ownedMonitorsAndFrames001@7025bdc7
      debugee.stderr> Debuggee: received the command: COMMAND_EXECUTE_DEBUGGEE:nsk.share.jdi.AbstractJDIDebuggee
      debugee.stderr> Debuggee nsk.share.jdi.AbstractJDIDebuggee : sending the command: ready
      debugee.stderr> Debuggee: received the command: createStateTestThread
      debugee.stderr> Debuggee nsk.share.jdi.AbstractJDIDebuggee : sending the command: ready
      # ERROR: Test bug in nsk.jdi.ThreadReference.ownedMonitorsAndFrames.ownedMonitorsAndFrames001.ownedMonitorsAndFrames001@7025bdc7: nsk.share.TestBug: There are more than one(2) instance of 'nsk.share.jpda.StateTestThread in debuggee
      nsk.share.TestBug: There are more than one(2) instance of 'nsk.share.jpda.StateTestThread in debuggee
      at nsk.share.jdi.TestDebuggerType2.findSingleObjectReference(TestDebuggerType2.java:264)
      at nsk.jdi.ThreadReference.ownedMonitorsAndFrames.ownedMonitorsAndFrames001.ownedMonitorsAndFrames001.doTest(ownedMonitorsAndFrames001.java:104)
      at nsk.share.jdi.SerialExecutionDebugger.executeTests(SerialExecutionDebugger.java:294)
      at nsk.share.jdi.SerialExecutionDebugger.doTest(SerialExecutionDebugger.java:233)
      at nsk.share.jdi.TestDebuggerType2.runIt(TestDebuggerType2.java:214)
      at nsk.share.jdi.SerialExecutionDebugger.main(SerialExecutionDebugger.java:65)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:102)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      debugee.stderr> Debuggee: received the command: quit
      debugee.stderr> Debuggee: exiting

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcubed Daniel Daugherty
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: