8206954: Test runtime/Thread/ThreadPriorities.java crashes with SEGV in pthread_getcpuclockid
authordholmes
Tue, 10 Jul 2018 03:14:55 -0400
changeset 51023 46ca5e6b7ed8
parent 51022 4df86b2a804d
child 51024 3fd01bccc81f
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 22:20:02 2018 -0700
+++ 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 {