< prev index next >

test/jdk/java/lang/management/MemoryMXBean/LowMemoryTest.java

Print this page
rev 51731 : imported patch 8210732

*** 30,42 **** * @author Mandy Chung * * @requires vm.gc == "null" * @requires vm.opt.ExplicitGCInvokesConcurrent != "true" * @requires vm.opt.DisableExplicitGC != "true" ! * @library /lib/testlibrary/ /test/lib * ! * @build jdk.testlibrary.* LowMemoryTest MemoryUtil RunUtil * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm/timeout=600 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. LowMemoryTest */ --- 30,42 ---- * @author Mandy Chung * * @requires vm.gc == "null" * @requires vm.opt.ExplicitGCInvokesConcurrent != "true" * @requires vm.opt.DisableExplicitGC != "true" ! * @library /test/lib * ! * @build LowMemoryTest MemoryUtil RunUtil * @build sun.hotspot.WhiteBox * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm/timeout=600 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. LowMemoryTest */
*** 45,55 **** import java.util.concurrent.Phaser; import javax.management.*; import javax.management.openmbean.CompositeData; import jdk.test.lib.JDKToolFinder; import jdk.test.lib.process.ProcessTools; ! import jdk.testlibrary.Utils; import sun.hotspot.code.Compiler; public class LowMemoryTest { private static final MemoryMXBean mm = ManagementFactory.getMemoryMXBean(); --- 45,55 ---- import java.util.concurrent.Phaser; import javax.management.*; import javax.management.openmbean.CompositeData; import jdk.test.lib.JDKToolFinder; import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.Utils; import sun.hotspot.code.Compiler; public class LowMemoryTest { private static final MemoryMXBean mm = ManagementFactory.getMemoryMXBean();
< prev index next >