|
23 | 23 | *
|
24 | 24 | */
|
25 | 25 |
|
26 |
| -/* |
27 |
| - * @test id=passive |
28 |
| - * @summary Acceptance tests: collector can withstand allocation |
29 |
| - * @key randomness |
30 |
| - * @requires vm.gc.Shenandoah |
31 |
| - * @library /test/lib |
32 |
| - * |
33 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
34 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive |
35 |
| - * -XX:+ShenandoahDegeneratedGC -XX:+ShenandoahVerify |
36 |
| - * TestAllocIntArrays |
37 |
| - * |
38 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
39 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive |
40 |
| - * -XX:-ShenandoahDegeneratedGC -XX:+ShenandoahVerify |
41 |
| - * TestAllocIntArrays |
42 |
| - * |
43 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
44 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive |
45 |
| - * -XX:+ShenandoahDegeneratedGC |
46 |
| - * TestAllocIntArrays |
47 |
| - * |
48 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
49 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCMode=passive |
50 |
| - * -XX:-ShenandoahDegeneratedGC |
51 |
| - * TestAllocIntArrays |
52 |
| - */ |
53 |
| - |
54 |
| -/* |
55 |
| - * @test id=aggressive |
56 |
| - * @summary Acceptance tests: collector can withstand allocation |
57 |
| - * @key randomness |
58 |
| - * @requires vm.gc.Shenandoah |
59 |
| - * @library /test/lib |
60 |
| - * |
61 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
62 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive |
63 |
| - * -XX:+ShenandoahOOMDuringEvacALot -XX:+ShenandoahVerify |
64 |
| - * TestAllocIntArrays |
65 |
| - * |
66 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
67 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive |
68 |
| - * -XX:+ShenandoahAllocFailureALot -XX:+ShenandoahVerify |
69 |
| - * TestAllocIntArrays |
70 |
| - * |
71 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
72 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive |
73 |
| - * -XX:+ShenandoahOOMDuringEvacALot |
74 |
| - * TestAllocIntArrays |
75 |
| - * |
76 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
77 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive |
78 |
| - * -XX:+ShenandoahAllocFailureALot |
79 |
| - * TestAllocIntArrays |
80 |
| - * |
81 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
82 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=aggressive |
83 |
| - * TestAllocIntArrays |
84 |
| - */ |
85 |
| - |
86 |
| -/* |
87 |
| - * @test id=adaptive |
88 |
| - * @summary Acceptance tests: collector can withstand allocation |
89 |
| - * @key randomness |
90 |
| - * @requires vm.gc.Shenandoah |
91 |
| - * @library /test/lib |
92 |
| - * |
93 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
94 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive |
95 |
| - * -XX:+ShenandoahVerify |
96 |
| - * TestAllocIntArrays |
97 |
| - * |
98 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
99 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive |
100 |
| - * TestAllocIntArrays |
101 |
| - */ |
102 |
| - |
103 | 26 | /*
|
104 | 27 | * @test id=generational
|
105 | 28 | * @summary Acceptance tests: collector can withstand allocation
|
|
109 | 32 | *
|
110 | 33 | * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g
|
111 | 34 | * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational
|
112 |
| - * -XX:+ShenandoahVerify |
113 |
| - * TestAllocIntArrays |
114 |
| - * |
115 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
116 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=adaptive -XX:ShenandoahGCMode=generational |
| 35 | + * -XX:+ShenandoahVerify -Xlog:aot |
117 | 36 | * TestAllocIntArrays
|
118 | 37 | */
|
119 | 38 |
|
120 |
| -/* |
121 |
| - * @test id=static |
122 |
| - * @summary Acceptance tests: collector can withstand allocation |
123 |
| - * @key randomness |
124 |
| - * @requires vm.gc.Shenandoah |
125 |
| - * @library /test/lib |
126 |
| - * |
127 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
128 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=static |
129 |
| - * TestAllocIntArrays |
130 |
| - */ |
131 |
| - |
132 |
| -/* |
133 |
| - * @test id=compact |
134 |
| - * @summary Acceptance tests: collector can withstand allocation |
135 |
| - * @key randomness |
136 |
| - * @requires vm.gc.Shenandoah |
137 |
| - * @library /test/lib |
138 |
| - * |
139 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
140 |
| - * -XX:+UseShenandoahGC -XX:ShenandoahGCHeuristics=compact |
141 |
| - * TestAllocIntArrays |
142 |
| - */ |
143 |
| - |
144 |
| -/* |
145 |
| - * @test id=no-tlab |
146 |
| - * @summary Acceptance tests: collector can withstand allocation |
147 |
| - * @key randomness |
148 |
| - * @requires vm.gc.Shenandoah |
149 |
| - * @library /test/lib |
150 |
| - * |
151 |
| - * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -Xmx1g -Xms1g |
152 |
| - * -XX:+UseShenandoahGC |
153 |
| - * -XX:-UseTLAB -XX:+ShenandoahVerify |
154 |
| - * TestAllocIntArrays |
155 |
| - */ |
156 | 39 | import java.util.Random;
|
157 | 40 | import jdk.test.lib.Utils;
|
158 | 41 |
|
|
0 commit comments