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

[Graal] JDI tests fail with Unexpected exception: com.sun.jdi.ObjectCollectedException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 12
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      11
    • Resolved In Build:
      b21

      Description

      Several tests from the JDK-8195600 may have a different failure mode:

      vmTestbase/nsk/jdi/VMOutOfMemoryException/VMOutOfMemoryException001/VMOutOfMemoryException001.java
      vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects001/referringObjects001.java
      vmTestbase/nsk/jdi/ReferenceType/instances/instances002/instances002.java
      vmTestbase/nsk/jdi/ReferenceType/instances/instances003/instances003.java
      vmTestbase/nsk/jdi/stress/serial/heapwalking001/TestDescription.java
      vmTestbase/nsk/jdi/stress/serial/heapwalking002/TestDescription.java
      vmTestbase/nsk/jdi/ArrayType/newInstance/newinstance001/TestDescription.java
      vmTestbase/nsk/jdi/ArrayType/newInstance/newinstance002/TestDescription.java
      vmTestbase/nsk/jdi/ArrayType/newInstance/newinstance003/TestDescription.java
      vmTestbase/nsk/jdi/stress/MonitorEvents/MonitorEvents002/TestDescription.java


      They are failed with an Exception:

      # ERROR: Unexpected exception: com.sun.jdi.ObjectCollectedException
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Unexpected exception: com.sun.jdi.ObjectCollectedException
              at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:428)
              at nsk.share.Log.complain(Log.java:399)
              at nsk.share.jdi.TestDebuggerType2.runIt(TestDebuggerType2.java:221)
              at nsk.jdi.ReferenceType.instances.instances002.instances002.run(instances002.java:74)
              at nsk.jdi.ReferenceType.instances.instances002.instances002.main(instances002.java:70)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:104)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:832)
      com.sun.jdi.ObjectCollectedException
              at jdk.jdi/com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:55)
              at jdk.jdi/com.sun.tools.jdi.ObjectReferenceImpl.disableCollection(ObjectReferenceImpl.java:440)
              at nsk.jdi.ReferenceType.instances.instances002.instances002.testArrayType(instances002.java:125)
              at nsk.jdi.ReferenceType.instances.instances002.instances002.doTest(instances002.java:206)
              at nsk.share.jdi.TestDebuggerType2.runIt(TestDebuggerType2.java:214)
              at nsk.jdi.ReferenceType.instances.instances002.instances002.run(instances002.java:74)
              at nsk.jdi.ReferenceType.instances.instances002.instances002.main(instances002.java:70)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at PropertyResolvingWrapper.main(PropertyResolvingWrapper.java:104)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:566)
              at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
              at java.base/java.lang.Thread.run(Thread.java:832)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dtitov Daniil Titov
                Reporter:
                sspitsyn Serguei Spitsyn
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: