< prev index next >

test/jdk/sun/tools/jstat/JStatInterval.java

Print this page
rev 51638 : [mq]: 8210112

*** 23,41 **** /** * @test * @bug 8035668 * @library /lib/testlibrary * @summary Test checks case when target application finishes execution and jstat didn't complete work. jstat is started with interval = 100 (jstat -compiler 100) and monitored application finishes after 500ms. This shouldn't cause crash or hang in target application or in jstat. * @modules java.management * @build jdk.testlibrary.* JStatInterval * @run main JStatInterval */ ! import jdk.testlibrary.ProcessTools; import jdk.testlibrary.JDKToolLauncher; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; --- 23,42 ---- /** * @test * @bug 8035668 * @library /lib/testlibrary + * @library /test/lib * @summary Test checks case when target application finishes execution and jstat didn't complete work. jstat is started with interval = 100 (jstat -compiler 100) and monitored application finishes after 500ms. This shouldn't cause crash or hang in target application or in jstat. * @modules java.management * @build jdk.testlibrary.* JStatInterval * @run main JStatInterval */ ! import jdk.test.lib.process.ProcessTools; import jdk.testlibrary.JDKToolLauncher; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean;
< prev index next >