-
Bug
-
Resolution: Fixed
-
P4
-
repo-loom
This test depends on a private method in ThreadGroup and book keeping that does not exist in the loom repo. In addition the async exception leads to exceptions in class loading when the victim thread exits - this surfaces in the main thread when it attempts to invoke a method in that class.
Exception: java.lang.ThreadDeath thrown from the UncaughtExceptionHandler in thread "Thread-1"
java.lang.NoClassDefFoundError: Could not initialize class java.lang.Thread$State
at java.base/jdk.internal.misc.VM.toThreadState(VM.java:348)
at java.base/java.lang.Thread.threadState(Thread.java:2777)
at java.base/java.lang.Thread.getThreadGroup(Thread.java:1963)
at java.base/java.lang.ThreadGroup.activeCount(ThreadGroup.java:364)
at StopAtExit.main(StopAtExit.java:127)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1532)
Excluding the test for now, need to decide if this test should be deleted in the loom repo.
Exception: java.lang.ThreadDeath thrown from the UncaughtExceptionHandler in thread "Thread-1"
java.lang.NoClassDefFoundError: Could not initialize class java.lang.Thread$State
at java.base/jdk.internal.misc.VM.toThreadState(VM.java:348)
at java.base/java.lang.Thread.threadState(Thread.java:2777)
at java.base/java.lang.Thread.getThreadGroup(Thread.java:1963)
at java.base/java.lang.ThreadGroup.activeCount(ThreadGroup.java:364)
at StopAtExit.main(StopAtExit.java:127)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1532)
Excluding the test for now, need to decide if this test should be deleted in the loom repo.
- relates to
-
JDK-8284632 runtime/Thread/StopAtExit.java possibly leaking memory again
-
- Resolved
-
-
JDK-8282952 Thread::exit should be immune to Thread.stop
-
- Resolved
-
-
JDK-8283467 runtime/Thread/StopAtExit.java needs updating
-
- Resolved
-
-
JDK-8285507 revert fix for JDK-8282704 now that JDK-8282952 is fixed
-
- Resolved
-
- links to
-
Commit openjdk/loom/4f9ade6c