equal
deleted
inserted
replaced
33 * @summary "Tests the unloading of methods to to class unloading" |
33 * @summary "Tests the unloading of methods to to class unloading" |
34 * @library /testlibrary /testlibrary/whitebox |
34 * @library /testlibrary /testlibrary/whitebox |
35 * @build TestMethodUnloading |
35 * @build TestMethodUnloading |
36 * @build WorkerClass |
36 * @build WorkerClass |
37 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
37 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
|
38 * sun.hotspot.WhiteBox$WhiteBoxPermission |
38 * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation -XX:-UseCompressedOops -XX:+UseParallelGC -XX:CompileOnly=TestMethodUnloading::doWork TestMethodUnloading |
39 * @run main/othervm -Xbootclasspath/a:. -XX:+IgnoreUnrecognizedVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:-BackgroundCompilation -XX:-UseCompressedOops -XX:+UseParallelGC -XX:CompileOnly=TestMethodUnloading::doWork TestMethodUnloading |
39 */ |
40 */ |
40 public class TestMethodUnloading { |
41 public class TestMethodUnloading { |
41 private static final String workerClassName = "WorkerClass"; |
42 private static final String workerClassName = "WorkerClass"; |
42 private static int work = -1; |
43 private static int work = -1; |