8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid
authordholmes
Tue, 10 Jul 2018 03:14:55 -0400
changeset 50957 3f51ddbe4843
parent 50956 429b0997c16d
child 50958 e0028bb6dd3d
8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid Summary: Run the new runtime/jni/terminatedThread/TestTerminatedThread.java test in othervm mode Reviewed-by: alanb, mikael
test/hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java
--- a/test/hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java	Mon Jul 09 20:17:32 2018 -0400
+++ b/test/hotspot/jtreg/runtime/jni/terminatedThread/TestTerminatedThread.java	Tue Jul 10 03:14:55 2018 -0400
@@ -24,7 +24,7 @@
 
 /*
  * @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 @@
  *          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 {