test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java Tue Dec 9 15:12:59 2014
--- new/test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java Tue Dec 9 15:12:59 2014
*** 19,43 ****
--- 19,43 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! import sun.hotspot.WhiteBox;
! import jdk.testlib.WhiteBox;
import java.lang.reflect.Method;
import java.net.URL;
import java.net.URLClassLoader;
/*
* @test MethodUnloadingTest
* @bug 8029443
* @summary "Tests the unloading of methods to to class unloading"
! * @library /testlibrary /testlibrary/whitebox
! * @library /testlibrary /../../test/lib
* @build TestMethodUnloading
* @build WorkerClass
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * sun.hotspot.WhiteBox$WhiteBoxPermission
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
! * jdk.testlib.WhiteBox$WhiteBoxPermission
* @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation -XX:-UseCompressedOops -XX:CompileOnly=TestMethodUnloading::doWork TestMethodUnloading
*/
public class TestMethodUnloading {
private static final String workerClassName = "WorkerClass";
private static int work = -1;
test/compiler/classUnloading/methodUnloading/TestMethodUnloading.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File