8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid

Run the new runtime/jni/terminatedThread/TestTerminatedThread.java test in othervm mode

Reviewed-by: alanb, mikael
This commit is contained in:
David Holmes 2018-07-10 03:14:55 -04:00
parent f675eb67a6
commit 1980056947

View File

@ -24,7 +24,7 @@ import java.lang.management.*;
/*
* @test
* @bug 8205878
* @bug 8205878 8206954
* @requires os.family != "windows" & os.family != "solaris"
* @summary Basic test of Thread and ThreadMXBean queries on a natively
* attached thread that has failed to detach before terminating.
@ -32,7 +32,7 @@ import java.lang.management.*;
* we have to skip solaris as a terminating thread that fails to
* detach will hit an infinite loop due to TLS destructor issues - see
* comments in JDK-8156708
* @run main/native TestTerminatedThread
* @run main/othervm/native TestTerminatedThread
*/
public class TestTerminatedThread {