changeset 8015:9522b5e836d3

8004179: Few of test/java/lang/management/ThreadMXBean/* tests don't clean up the created threads Summary: Just run those tests in "othervm" mode. Reviewed-by: alanb, dfuchs, sjiang
author jbachorik
date Thu, 05 Sep 2013 14:34:22 +0200
parents af1b08ff48ae
children 4c711ef41bfa
files test/java/lang/management/ThreadMXBean/LockedMonitors.java test/java/lang/management/ThreadMXBean/LockedSynchronizers.java test/java/lang/management/ThreadMXBean/MyOwnSynchronizer.java test/java/lang/management/ThreadMXBean/SharedSynchronizer.java test/java/lang/management/ThreadMXBean/SynchronizationStatistics.java
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/lang/management/ThreadMXBean/LockedMonitors.java	Thu Sep 05 13:04:17 2013 +0200
+++ b/test/java/lang/management/ThreadMXBean/LockedMonitors.java	Thu Sep 05 14:34:22 2013 +0200
@@ -37,7 +37,7 @@
  * @build Barrier
  * @build LockingThread
  * @build ThreadDump
- * @run main LockedMonitors
+ * @run main/othervm LockedMonitors
  */
 
 import java.lang.management.*;
--- a/test/java/lang/management/ThreadMXBean/LockedSynchronizers.java	Thu Sep 05 13:04:17 2013 +0200
+++ b/test/java/lang/management/ThreadMXBean/LockedSynchronizers.java	Thu Sep 05 14:34:22 2013 +0200
@@ -33,7 +33,7 @@
  * @build Barrier
  * @build SynchronizerLockingThread
  * @build ThreadDump
- * @run main LockedSynchronizers
+ * @run main/othervm LockedSynchronizers
  */
 
 import java.lang.management.*;
--- a/test/java/lang/management/ThreadMXBean/MyOwnSynchronizer.java	Thu Sep 05 13:04:17 2013 +0200
+++ b/test/java/lang/management/ThreadMXBean/MyOwnSynchronizer.java	Thu Sep 05 14:34:22 2013 +0200
@@ -30,7 +30,7 @@
  *
  * @build Barrier
  * @build ThreadDump
- * @run main MyOwnSynchronizer
+ * @run main/othervm MyOwnSynchronizer
  */
 
 import java.lang.management.*;
--- a/test/java/lang/management/ThreadMXBean/SharedSynchronizer.java	Thu Sep 05 13:04:17 2013 +0200
+++ b/test/java/lang/management/ThreadMXBean/SharedSynchronizer.java	Thu Sep 05 14:34:22 2013 +0200
@@ -28,7 +28,7 @@
  *          in shared mode which has no owner when a thread is parked.
  * @author  Mandy Chung
  *
- * @run main SharedSynchronizer
+ * @run main/othervm SharedSynchronizer
  */
 
 
--- a/test/java/lang/management/ThreadMXBean/SynchronizationStatistics.java	Thu Sep 05 13:04:17 2013 +0200
+++ b/test/java/lang/management/ThreadMXBean/SynchronizationStatistics.java	Thu Sep 05 14:34:22 2013 +0200
@@ -30,7 +30,7 @@
  *
  * @ignore  6309226
  * @build Semaphore
- * @run main SynchronizationStatistics
+ * @run main/othervm SynchronizationStatistics
  */
 
 import java.lang.management.*;