< prev index next >

test/jdk/javax/management/monitor/GaugeMonitorDeadlockTest.java

Print this page
rev 51731 : imported patch 8210732

*** 26,36 **** * @bug 6303187 * @summary Test that no locks are held when a monitor attribute is sampled * or notif delivered. * @author Eamonn McManus * ! * @library /lib/testlibrary * * @run clean GaugeMonitorDeadlockTest * @run build GaugeMonitorDeadlockTest * @run main GaugeMonitorDeadlockTest 1 * @run main GaugeMonitorDeadlockTest 2 --- 26,36 ---- * @bug 6303187 * @summary Test that no locks are held when a monitor attribute is sampled * or notif delivered. * @author Eamonn McManus * ! * @library /test/lib * * @run clean GaugeMonitorDeadlockTest * @run build GaugeMonitorDeadlockTest * @run main GaugeMonitorDeadlockTest 1 * @run main GaugeMonitorDeadlockTest 2
*** 48,58 **** import javax.management.NotificationListener; import javax.management.ObjectName; import javax.management.monitor.GaugeMonitor; import javax.management.monitor.GaugeMonitorMBean; ! import jdk.testlibrary.Utils; public class GaugeMonitorDeadlockTest { private static enum When {IN_GET_ATTRIBUTE, IN_NOTIFY}; private static long checkingTime; --- 48,58 ---- import javax.management.NotificationListener; import javax.management.ObjectName; import javax.management.monitor.GaugeMonitor; import javax.management.monitor.GaugeMonitorMBean; ! import jdk.test.lib.Utils; public class GaugeMonitorDeadlockTest { private static enum When {IN_GET_ATTRIBUTE, IN_NOTIFY}; private static long checkingTime;
< prev index next >