test/gc/class_unloading/TestG1ClassUnloadingHWM.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/gc/class_unloading/TestG1ClassUnloadingHWM.java	Tue Dec  9 15:13:18 2014
--- new/test/gc/class_unloading/TestG1ClassUnloadingHWM.java	Tue Dec  9 15:13:17 2014

*** 23,45 **** --- 23,45 ---- /* * @test * @key gc * @bug 8049831 ! * @library /testlibrary /testlibrary/whitebox ! * @library /testlibrary /../../test/lib * @build TestG1ClassUnloadingHWM ! * @run main ClassFileInstaller sun.hotspot.WhiteBox ! * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main ClassFileInstaller jdk.testlib.WhiteBox ! * jdk.testlib.WhiteBox$WhiteBoxPermission * @run driver TestG1ClassUnloadingHWM * @summary Test that -XX:-ClassUnloadingWithConcurrentMark will trigger a Full GC when more than MetaspaceSize metadata is allocated. */ import com.oracle.java.testlibrary.OutputAnalyzer; import com.oracle.java.testlibrary.ProcessTools; import java.util.ArrayList; import java.util.Arrays; ! import sun.hotspot.WhiteBox; ! import jdk.testlib.WhiteBox; public class TestG1ClassUnloadingHWM { private static long MetaspaceSize = 32 * 1024 * 1024; private static long YoungGenSize = 32 * 1024 * 1024;

test/gc/class_unloading/TestG1ClassUnloadingHWM.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File