7195597: ThreadStateTest gets different results with -Xcomp
authormorris
Fri, 11 Oct 2013 12:40:14 -0700
changeset 21219 0c61684d9606
parent 21218 42223d597a64
child 21220 a6cbbedabed7
7195597: ThreadStateTest gets different results with -Xcomp Reviewed-by: kvn
jdk/test/java/lang/Thread/ThreadStateTest.java
--- a/jdk/test/java/lang/Thread/ThreadStateTest.java	Thu Oct 10 18:59:01 2013 +0400
+++ b/jdk/test/java/lang/Thread/ThreadStateTest.java	Fri Oct 11 12:40:14 2013 -0700
@@ -30,7 +30,7 @@
  * @author  Mandy Chung
  *
  * @build ThreadStateTest
- * @run main ThreadStateTest
+ * @run main/othervm -Xmixed ThreadStateTest
  */
 
 import java.util.concurrent.locks.LockSupport;