equal
deleted
inserted
replaced
60 * @build sun.hotspot.WhiteBox |
60 * @build sun.hotspot.WhiteBox |
61 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
61 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
62 * sun.hotspot.WhiteBox$WhiteBoxPermission |
62 * sun.hotspot.WhiteBox$WhiteBoxPermission |
63 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
63 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
64 * -XX:-ClassUnloading -XX:+UseConcMarkSweepGC TestClassUnloadingDisabled |
64 * -XX:-ClassUnloading -XX:+UseConcMarkSweepGC TestClassUnloadingDisabled |
|
65 */ |
|
66 |
|
67 /* |
|
68 * @test TestClassUnloadingDisabledShenandoah |
|
69 * @key gc |
|
70 * @bug 8114823 |
|
71 * @comment Graal does not support Shenandoah |
|
72 * @requires vm.gc.Shenandoah & !vm.graal.enabled |
|
73 * @requires vm.opt.ExplicitGCInvokesConcurrent != true |
|
74 * @requires vm.opt.ClassUnloading != true |
|
75 * @library /test/lib |
|
76 * @modules java.base/jdk.internal.misc |
|
77 * java.management |
|
78 * @build sun.hotspot.WhiteBox |
|
79 * @run driver ClassFileInstaller sun.hotspot.WhiteBox |
|
80 * sun.hotspot.WhiteBox$WhiteBoxPermission |
|
81 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
|
82 * -XX:-ClassUnloading -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC TestClassUnloadingDisabled |
65 */ |
83 */ |
66 |
84 |
67 import java.io.File; |
85 import java.io.File; |
68 import java.io.IOException; |
86 import java.io.IOException; |
69 import java.nio.file.Files; |
87 import java.nio.file.Files; |