|
41 | 41 | */
|
42 | 42 |
|
43 | 43 | /*
|
44 |
| - * @test id=debug |
| 44 | + * @test id=debug-default |
45 | 45 | * @library /test/lib
|
46 | 46 | * @modules java.base/jdk.internal.misc
|
47 | 47 | * java.management
|
|
51 | 51 | *
|
52 | 52 | * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
|
53 | 53 | *
|
54 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:VerifyMetaspaceInterval=10 TestMetaspaceAllocationMT1 |
55 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:VerifyMetaspaceInterval=10 -XX:MetaspaceReclaimPolicy=none TestMetaspaceAllocationMT1 |
56 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:VerifyMetaspaceInterval=10 -XX:MetaspaceReclaimPolicy=aggressive TestMetaspaceAllocationMT1 |
57 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:VerifyMetaspaceInterval=10 -XX:+MetaspaceGuardAllocations TestMetaspaceAllocationMT1 |
| 54 | + * @run main/othervm/timeout=400 |
| 55 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 56 | + * -XX:VerifyMetaspaceInterval=10 |
| 57 | + * TestMetaspaceAllocationMT1 |
| 58 | + */ |
| 59 | + |
| 60 | +/* |
| 61 | + * @test id=debug-none |
| 62 | + * @library /test/lib |
| 63 | + * @modules java.base/jdk.internal.misc |
| 64 | + * java.management |
| 65 | + * @build sun.hotspot.WhiteBox |
| 66 | + * @key randomness |
| 67 | + * @requires (vm.debug == true) |
| 68 | + * |
| 69 | + * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox |
| 70 | + * |
| 71 | + * @run main/othervm/timeout=400 |
| 72 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 73 | + * -XX:VerifyMetaspaceInterval=10 |
| 74 | + * -XX:MetaspaceReclaimPolicy=none |
| 75 | + * TestMetaspaceAllocationMT1 |
| 76 | + */ |
| 77 | + |
| 78 | +/* |
| 79 | + * @test id=debug-aggressive |
| 80 | + * @library /test/lib |
| 81 | + * @modules java.base/jdk.internal.misc |
| 82 | + * java.management |
| 83 | + * @build sun.hotspot.WhiteBox |
| 84 | + * @key randomness |
| 85 | + * @requires (vm.debug == true) |
| 86 | + * |
| 87 | + * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox |
| 88 | + * |
| 89 | + * @run main/othervm/timeout=400 |
| 90 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 91 | + * -XX:VerifyMetaspaceInterval=10 |
| 92 | + * -XX:MetaspaceReclaimPolicy=aggressive |
| 93 | + * TestMetaspaceAllocationMT1 |
| 94 | + */ |
| 95 | + |
| 96 | +/* |
| 97 | + * @test id=debug-guard |
| 98 | + * @library /test/lib |
| 99 | + * @modules java.base/jdk.internal.misc |
| 100 | + * java.management |
| 101 | + * @build sun.hotspot.WhiteBox |
| 102 | + * @key randomness |
| 103 | + * @requires (vm.debug == true) |
| 104 | + * |
| 105 | + * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox |
| 106 | + * |
| 107 | + * @run main/othervm/timeout=400 |
| 108 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 109 | + * -XX:VerifyMetaspaceInterval=10 |
| 110 | + * -XX:+MetaspaceGuardAllocations |
| 111 | + * TestMetaspaceAllocationMT1 |
| 112 | + */ |
| 113 | + |
| 114 | +/* |
| 115 | + * @test id=ndebug-default |
| 116 | + * @library /test/lib |
| 117 | + * @modules java.base/jdk.internal.misc |
| 118 | + * java.management |
| 119 | + * @build sun.hotspot.WhiteBox |
| 120 | + * @key randomness |
| 121 | + * @requires (vm.debug == false) |
| 122 | + * |
| 123 | + * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox |
| 124 | + * |
| 125 | + * @run main/othervm/timeout=400 |
| 126 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 127 | + * TestMetaspaceAllocationMT1 |
| 128 | + */ |
| 129 | + |
| 130 | +/* |
| 131 | + * @test id=ndebug-none |
| 132 | + * @library /test/lib |
| 133 | + * @modules java.base/jdk.internal.misc |
| 134 | + * java.management |
| 135 | + * @build sun.hotspot.WhiteBox |
| 136 | + * @key randomness |
| 137 | + * @requires (vm.debug == false) |
| 138 | + * |
| 139 | + * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox |
58 | 140 | *
|
| 141 | + * @run main/othervm/timeout=400 |
| 142 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 143 | + * -XX:MetaspaceReclaimPolicy=none |
| 144 | + * TestMetaspaceAllocationMT1 |
59 | 145 | */
|
60 | 146 |
|
61 | 147 | /*
|
62 |
| - * @test id=ndebug |
| 148 | + * @test id=ndebug-aggressive |
63 | 149 | * @library /test/lib
|
64 | 150 | * @modules java.base/jdk.internal.misc
|
65 | 151 | * java.management
|
|
69 | 155 | *
|
70 | 156 | * @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
|
71 | 157 | *
|
72 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI TestMetaspaceAllocationMT1 |
73 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MetaspaceReclaimPolicy=none TestMetaspaceAllocationMT1 |
74 |
| - * @run main/othervm/timeout=400 -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MetaspaceReclaimPolicy=aggressive TestMetaspaceAllocationMT1 |
| 158 | + * @run main/othervm/timeout=400 |
| 159 | + * -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI |
| 160 | + * -XX:MetaspaceReclaimPolicy=aggressive |
| 161 | + * TestMetaspaceAllocationMT1 |
75 | 162 | */
|
76 | 163 |
|
77 | 164 | public class TestMetaspaceAllocationMT1 {
|
|
0 commit comments