Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/functional/Java11andUp/playlist.xml
6000 views
1
<?xml version='1.0' encoding='UTF-8'?>
2
<!--
3
Copyright (c) 2018, 2021 IBM Corp. and others
4
5
This program and the accompanying materials are made available under
6
the terms of the Eclipse Public License 2.0 which accompanies this
7
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
8
or the Apache License, Version 2.0 which accompanies this distribution and
9
is available at https://www.apache.org/licenses/LICENSE-2.0.
10
11
This Source Code may also be made available under the following
12
Secondary Licenses when the conditions for such availability set
13
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
14
General Public License, version 2 with the GNU Classpath
15
Exception [1] and GNU General Public License, version 2 with the
16
OpenJDK Assembly Exception [2].
17
18
[1] https://www.gnu.org/software/classpath/license.html
19
[2] http://openjdk.java.net/legal/assembly-exception.html
20
21
SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
22
-->
23
<playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../TKG/playlist.xsd">
24
<test>
25
<testCaseName>String_CompactStrings</testCaseName>
26
<variations>
27
<variation>-XX:+CompactStrings</variation>
28
</variations>
29
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
30
--add-opens=java.base/java.lang=ALL-UNNAMED \
31
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
32
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames Test_String \
33
-groups $(TEST_GROUP) \
34
-excludegroups $(DEFAULT_EXCLUDE); \
35
$(TEST_STATUS)
36
</command>
37
<levels>
38
<level>sanity</level>
39
</levels>
40
<groups>
41
<group>functional</group>
42
</groups>
43
<versions>
44
<version>11+</version>
45
</versions>
46
<impls>
47
<impl>openj9</impl>
48
<impl>ibm</impl>
49
</impls>
50
</test>
51
<!--
52
The nestmate test specifically exercise the JIT$(SQ)s handling of unresolved virtual and interface private methods.
53
The JIT pibBuilder routines will have to handle virtual and interface private methods that are both JIT compiled and interpreted.
54
These private methods will have to be resolved at runtime and gets handled as a direct dispatch, instead of an indirect virtual/interface
55
dispatch. Hence, the need for -Xjit:rtResolve.
56
57
Variation 1:
58
This variation tests the handling of nestmate private instance methods with the callee being interpreted.
59
The -Xjit option limits the compilation to just one method (the caller), which invokes only once an inner class$(SQ)s private method (the callee).
60
The callee is interpreted because it$(SQ)s only invoked once.
61
62
Variation 2:
63
This variation tests the handling of nestmate private instance methods that is JIT compiled.
64
The -Xjit option limits the compilation to two methods: a caller (count=0) and a callee (count=100).
65
The callee is an nestmate private instance method. It$(SQ)s first invoked by the caller 1000 times in a loopy method. The low count=100
66
on the callee ensures that the callee can get JIT compiled early enough so that the last invocation of it jumps to a JIT$(SQ)ed body.
67
68
Variation 3:
69
Similar to variation 1 except that the callee is an interface private method.
70
71
Variation 4:
72
Similar to variation 2 except that the callee is an interface private method.
73
-->
74
<test>
75
<testCaseName>Nestmate_virtual_private</testCaseName>
76
<disables>
77
<disable>
78
<comment>https://github.com/eclipse-openj9/openj9/issues/9167</comment>
79
<platform>.*zos.*</platform>
80
</disable>
81
</disables>
82
<variations>
83
<variation>$(SQ)-Xjit:rtResolve,disableAsyncCompilation,limit={org/openj9/test/nestmates/NestmatesTest.testVirtualUnresolvedInterpreted*},{org/openj9/test/nestmates/NestmatesTest.testVirtualUnresolvedInterpreted*}(count=0)$(SQ)</variation>
84
<variation>$(SQ)-Xjit:rtResolve,disableAsyncCompilation,limit={org/openj9/test/nestmates/NestmatesTest.testVirtualUnresolvedJitted*,org/openj9/test/nestmates/NestmatesTest$InnerClass.innerPrivateMethod*},{org/openj9/test/nestmates/NestmatesTest.testVirtualUnresolvedInterpreted*}(count=0),{org/openj9/test/nestmates/NestmatesTest$InnerClass.innerPrivateMethod*}(count=100)$(SQ)</variation>
85
<variation>$(SQ)-Xjit:rtResolve,disableAsyncCompilation,limit={org/openj9/test/nestmates/NestmatesTest.testInterfaceUnresolvedInterpreted*},{org/openj9/test/nestmates/NestmatesTest.testInterfaceUnresolvedInterpreted*}(count=0)$(SQ)</variation>
86
<variation>$(SQ)-Xjit:rtResolve,disableAsyncCompilation,limit={org/openj9/test/nestmates/NestmatesTest.testInterfaceUnresolvedJitted*,org/openj9/test/nestmates/NestmatesTest$InnerInterface.innerInterfacePrivateMethod*},{org/openj9/test/nestmates/NestmatesTest.testInterfaceUnresolvedJitted*}(count=0),{org/openj9/test/nestmates/NestmatesTest$InnerInterface.innerInterfacePrivateMethod*}(count=100)$(SQ)</variation>
87
</variations>
88
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
89
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
90
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames NestmatesTest \
91
-groups $(TEST_GROUP) \
92
-excludegroups $(DEFAULT_EXCLUDE); \
93
$(TEST_STATUS)
94
</command>
95
<levels>
96
<level>sanity</level>
97
</levels>
98
<groups>
99
<group>functional</group>
100
</groups>
101
<versions>
102
<version>11+</version>
103
</versions>
104
<impls>
105
<impl>openj9</impl>
106
<impl>ibm</impl>
107
</impls>
108
</test>
109
<!--
110
Following test covers scenario for both type of constant dynamics (Object and Primitives)
111
Variation 1:
112
This variation runs tests in default mode.
113
Variation 2:
114
This variation runs test under -Xjit:count=1 option which makes sure that ConstantDynamic is resoleved before we compile a method
115
to test JIT$(SQ)s handling of resolved constant dynamic
116
Variation 3:
117
This variation runs test under -Xjit:count=0 option means JIT faces unresolved constant dynamic and it needs to resolve them before
118
using it.
119
Variation 4:
120
In addition to Variation 3 this test runs gc on resolving constant dynamic. This will test JIT to make sure it correctly prepares
121
GC map in code.
122
Variation 5:
123
This variation runs test under -XX:RecreateClassfileOnload option which means VM should first recreate an idential classfile with
124
classFileWriter and test with the recreated classfile. This should test if the classFileWriter is generating the correct classfile
125
output.
126
-->
127
<test>
128
<testCaseName>CondyPrimitive</testCaseName>
129
<variations>
130
<variation>NoOptions</variation>
131
<variation>$(SQ)-Xjit:count=1,disableAsyncCompilation,rtResolve$(SQ)</variation>
132
<variation>$(SQ)-Xjit:count=0,disableAsyncCompilation$(SQ)</variation>
133
<variation>$(SQ)-Xjit:count=0,disableAsyncCompilation,gcOnResolve$(SQ)</variation>
134
<variation>-XX:RecreateClassfileOnload</variation>
135
</variations>
136
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
137
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
138
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames PrimitiveCondyTest \
139
-groups $(TEST_GROUP) \
140
-excludegroups $(DEFAULT_EXCLUDE); \
141
$(TEST_STATUS)
142
</command>
143
<levels>
144
<level>sanity</level>
145
</levels>
146
<groups>
147
<group>functional</group>
148
</groups>
149
<versions>
150
<version>11+</version>
151
</versions>
152
<impls>
153
<impl>openj9</impl>
154
<impl>ibm</impl>
155
</impls>
156
</test>
157
<!--
158
Following test covers garbage collection of constant dynamics using several gc options.
159
Tests scenario for object, primitive and exception constant dynamics.
160
-->
161
<test>
162
<testCaseName>CondyGarbageCollection</testCaseName>
163
<variations>
164
<variation>NoOptions</variation>
165
<variation>-Xgcpolicy:optthruput</variation>
166
<variation>-Xgcpolicy:gencon</variation>
167
<variation>-Xgcpolicy:balanced</variation>
168
</variations>
169
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
170
-cp $(Q)$(LIB_DIR)$(D)asm.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
171
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames GarbageCollectionCondyTest \
172
-groups $(TEST_GROUP) \
173
-excludegroups $(DEFAULT_EXCLUDE); \
174
$(TEST_STATUS)
175
</command>
176
<levels>
177
<level>sanity</level>
178
</levels>
179
<groups>
180
<group>functional</group>
181
</groups>
182
<versions>
183
<version>11+</version>
184
</versions>
185
<impls>
186
<impl>openj9</impl>
187
<impl>ibm</impl>
188
</impls>
189
</test>
190
<!--
191
Following test covers metronome garbage collection tests on linux_x86.
192
Tests scenarios for object, primitive and exception constant dynamics.
193
-->
194
<test>
195
<testCaseName>CondyGarbageCollectionMetronomeLinux</testCaseName>
196
<variations>
197
<variation>-Xgcpolicy:metronome</variation>
198
</variations>
199
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
200
-cp $(Q)$(LIB_DIR)$(D)asm.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
201
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames GarbageCollectionCondyTest \
202
-groups $(TEST_GROUP) \
203
-excludegroups $(DEFAULT_EXCLUDE); \
204
$(TEST_STATUS)
205
</command>
206
<platformRequirements>os.linux,arch.x86</platformRequirements>
207
<levels>
208
<level>sanity</level>
209
</levels>
210
<groups>
211
<group>functional</group>
212
</groups>
213
<versions>
214
<version>11+</version>
215
</versions>
216
<impls>
217
<impl>openj9</impl>
218
<impl>ibm</impl>
219
</impls>
220
</test>
221
<!--
222
Following test covers metronome garbage collection tests on aix.
223
Tests scenarios for object, primitive and exception constant dynamics.
224
-->
225
<test>
226
<testCaseName>CondyGarbageCollectionMetronomeAIX</testCaseName>
227
<variations>
228
<variation>-Xgcpolicy:metronome</variation>
229
</variations>
230
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
231
-cp $(Q)$(LIB_DIR)$(D)asm.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
232
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames GarbageCollectionCondyTest \
233
-groups $(TEST_GROUP) \
234
-excludegroups $(DEFAULT_EXCLUDE); \
235
$(TEST_STATUS)
236
</command>
237
<platformRequirements>os.aix</platformRequirements>
238
<levels>
239
<level>sanity</level>
240
</levels>
241
<groups>
242
<group>functional</group>
243
</groups>
244
<versions>
245
<version>11+</version>
246
</versions>
247
<impls>
248
<impl>openj9</impl>
249
<impl>ibm</impl>
250
</impls>
251
</test>
252
<test>
253
<testCaseName>NestAttributeTest</testCaseName>
254
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
255
-cp $(Q)$(LIB_DIR)$(D)asm-all.jar$(P)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
256
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) -testnames NestAttributeTest \
257
-groups $(TEST_GROUP) \
258
-excludegroups $(DEFAULT_EXCLUDE); \
259
$(TEST_STATUS)</command>
260
<levels>
261
<level>sanity</level>
262
</levels>
263
<groups>
264
<group>functional</group>
265
</groups>
266
<versions>
267
<version>11+</version>
268
</versions>
269
<impls>
270
<impl>openj9</impl>
271
<impl>ibm</impl>
272
</impls>
273
</test>
274
<test>
275
<testCaseName>JCL_TEST_Java-Lang-Invoke</testCaseName>
276
<command>$(JAVA_COMMAND) $(JVM_OPTIONS) \
277
-cp $(Q)$(RESOURCES_DIR)$(P)$(TESTNG)$(P)$(TEST_RESROOT)$(D)GeneralTest.jar$(Q) \
278
org.testng.TestNG -d $(REPORTDIR) $(Q)$(TEST_RESROOT)$(D)testng.xml$(Q) \
279
-testnames JCL_TEST_Java-Lang-Invoke \
280
-groups $(TEST_GROUP) \
281
-excludegroups $(DEFAULT_EXCLUDE); \
282
$(TEST_STATUS)
283
</command>
284
<levels>
285
<level>extended</level>
286
</levels>
287
<groups>
288
<group>functional</group>
289
</groups>
290
<versions>
291
<version>11+</version>
292
</versions>
293
<impls>
294
<impl>openj9</impl>
295
<impl>ibm</impl>
296
</impls>
297
</test>
298
</playlist>
299
300