< prev index next >

test/gc/TestSoftReferencesBehaviorOnOOME.java

Print this page

        

*** 23,36 **** /** * @test TestSoftReferencesBehaviorOnOOME * @key gc * @summary Tests that all SoftReferences has been cleared at time of OOM. ! * @library /testlibrary * @modules java.base/jdk.internal.misc * java.management - * @build TestSoftReferencesBehaviorOnOOME * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 512 2k * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 128k 256k * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 2k 32k */ import jdk.test.lib.Utils; --- 23,35 ---- /** * @test TestSoftReferencesBehaviorOnOOME * @key gc * @summary Tests that all SoftReferences has been cleared at time of OOM. ! * @library /test/lib * @modules java.base/jdk.internal.misc * java.management * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 512 2k * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 128k 256k * @run main/othervm -Xmx128m TestSoftReferencesBehaviorOnOOME 2k 32k */ import jdk.test.lib.Utils;
< prev index next >