JDK-8217941 : com/sun/jdi tests fail with "Error while cleaning up threads after test"
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 12
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2019-01-28
  • Updated: 2020-10-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Blocks :  
Description
Some of the failing tests:
com/sun/jdi/ConnectedVMs.java
com/sun/jdi/InstancesTest.java
com/sun/jdi/PopSynchronousTest.java
Comments
This UnsupportedOperationException is cased by JDK-8218025 that disabled pop_frame for Graal
03-08-2019

The thread cleanup problem could have been caused by JDK-8218700.
01-08-2019

I cannot reproduce this error "Error while cleaning up threads after test", however, com/sun/jdi/PopSynchronousTest.java tests fails with Graal on ('-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal') with the following diagnostic STDERR: [12ms] run args: [PopSynchronousTarg] [732ms] TEST pop from 'a' to 'a' java.lang.UnsupportedOperationException: target does not support popping frames at jdk.jdi/com.sun.tools.jdi.ThreadReferenceImpl.popFrames(ThreadReferenceImpl.java:554) at PopSynchronousTest.pop(PopSynchronousTest.java:215) at PopSynchronousTest.reenter(PopSynchronousTest.java:222) at PopSynchronousTest.runTests(PopSynchronousTest.java:251) at TestScaffold.startTests(TestScaffold.java:431) at PopSynchronousTest.main(PopSynchronousTest.java:112) 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:565) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298) at java.base/java.lang.Thread.run(Thread.java:830) JavaTest Message: Test threw exception: java.lang.UnsupportedOperationException JavaTest Message: shutting down test Without Graal the test runs fine.
27-07-2019