< prev index next >

test/runtime/ClassUnload/KeepAliveSoftReference.java

Print this page

        

*** 24,34 **** /* * @test KeepAliveSoftReference * @summary This test case uses a java.lang.ref.SoftReference referencing a class instance to keep a class alive. * @library /testlibrary /../../test/lib /runtime/testlibrary * @library classes ! * @build KeepAliveSoftReference test.Empty * @build ClassUnloadCommon * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveSoftReference */ --- 24,34 ---- /* * @test KeepAliveSoftReference * @summary This test case uses a java.lang.ref.SoftReference referencing a class instance to keep a class alive. * @library /testlibrary /../../test/lib /runtime/testlibrary * @library classes ! * @build com.oracle.java.testlibrary.* KeepAliveSoftReference test.Empty * @build ClassUnloadCommon * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -Xmn8m -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI KeepAliveSoftReference */
< prev index next >