Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/test/functional/cmdLineTests/cmdLineTest_J9tests/j9tests_Java_common.xml
6004 views
1
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
2
3
<!--
4
Copyright (c) 2020, 2020 IBM Corp. and others
5
6
This program and the accompanying materials are made available under
7
the terms of the Eclipse Public License 2.0 which accompanies this
8
distribution and is available at https://www.eclipse.org/legal/epl-2.0/
9
or the Apache License, Version 2.0 which accompanies this distribution and
10
is available at https://www.apache.org/licenses/LICENSE-2.0.
11
12
This Source Code may also be made available under the following
13
Secondary Licenses when the conditions for such availability set
14
forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
15
General Public License, version 2 with the GNU Classpath
16
Exception [1] and GNU General Public License, version 2 with the
17
OpenJDK Assembly Exception [2].
18
19
[1] https://www.gnu.org/software/classpath/license.html
20
[2] http://openjdk.java.net/legal/assembly-exception.html
21
22
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
23
-->
24
25
<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">
26
27
<suite id="J9 Command-Line Option Tests" timeout="180">
28
<variable name="CP" value="-cp $Q$$FIBJAR$$Q$" />
29
<variable name="TARGET" value="VMBench.FibBench" />
30
<variable name="CLASS" value="-cp $Q$$FIBJAR$$Q$ VMBench.FibBench" />
31
<variable name="FIBOUT" value=".*Fibonacci.*iterations.*" />
32
<variable name="SYSPROPS" value="-cp $Q$$RESJAR$$Q$ SystemProperties" />
33
<variable name="INVALIDLOCKWORDMODE" value=".*JVMJ9VM110E.*" />
34
<variable name="INVALIDLOCKWORDOPTION" value=".*JVMJ9VM111E.*" />
35
<variable name="INVALIDTENANTLOCKWORDOPTION" value=".*JVMJ9VM132E.*" />
36
<variable name="SCHEDCOMPAT1" value=".*sched_compat_yield=1,.*" />
37
<variable name="NOSCHEDCOMPAT" value=".*sched_compat_yield= ,.*" />
38
<variable name="SCHEDYIELD" value="yieldAlgorithm=0," />
39
<variable name="CONSTANTUSLEEP" value="yieldAlgorithm=2," />
40
<variable name="INCREASINGUSLEEP" value="yieldAlgorithm=3," />
41
<variable name="VERSION" value="-version" />
42
<variable name="INVALIDVERYLONGOPTION" value="1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890" />
43
44
<test id="help">
45
<command>$EXE$ -help</command>
46
<output>.*Usage.*options.*class.*args.*</output>
47
</test>
48
49
<test id="classpath">
50
<command>$EXE$ -classpath $Q$$FIBJAR$$Q$ $TARGET$</command>
51
<output>$FIBOUT$</output>
52
</test>
53
54
<test id="cp">
55
<command>$EXE$ $CLASS$</command>
56
<output>$FIBOUT$</output>
57
</test>
58
59
<test id="verify">
60
<command>$EXE$ -verify $CLASS$</command>
61
<output>$FIBOUT$</output>
62
</test>
63
64
<test id="noverify">
65
<command>$EXE$ -noverify $CLASS$</command>
66
<output>$FIBOUT$</output>
67
</test>
68
69
<test id="Xint">
70
<command>$EXE$ -Xint $CLASS$</command>
71
<output>$FIBOUT$</output>
72
</test>
73
74
<test id="Xnojit">
75
<command>$EXE$ -Xnojit $CLASS$</command>
76
<output>$FIBOUT$</output>
77
</test>
78
79
<test id="Xnoaot">
80
<command>$EXE$ -Xnoaot $CLASS$</command>
81
<output>$FIBOUT$</output>
82
</test>
83
84
<test id="Xfuture">
85
<command>$EXE$ -Xfuture $CLASS$</command>
86
<output>$FIBOUT$</output>
87
</test>
88
89
<test id="Xnoclassgc">
90
<command>$EXE$ -Xnoclassgc $CLASS$</command>
91
<output>$FIBOUT$</output>
92
</test>
93
94
<test id="Xclassgc">
95
<command>$EXE$ -Xclassgc $CLASS$</command>
96
<output>$FIBOUT$</output>
97
</test>
98
99
<test id="Xalwaysclassgc">
100
<command>$EXE$ -Xalwaysclassgc $CLASS$</command>
101
<output>$FIBOUT$</output>
102
</test>
103
104
<test id="Xgcthreads">
105
<command>$EXE$ -Xgcthreads1 $CLASS$</command>
106
<output>$FIBOUT$</output>
107
</test>
108
109
<test id="Xmine">
110
<command>$EXE$ -Xmine2K $CLASS$</command>
111
<output>$FIBOUT$</output>
112
</test>
113
114
<test id="Xmaxe">
115
<command>$EXE$ -Xmaxe16K $CLASS$</command>
116
<output>$FIBOUT$</output>
117
</test>
118
119
<test id="Xmrx">
120
<command>$EXE$ -Xmrx32K $CLASS$</command>
121
<output>$FIBOUT$</output>
122
</test>
123
124
<test id="Xmoi">
125
<command>$EXE$ -Xmoi8M $CLASS$</command>
126
<output>$FIBOUT$</output>
127
</test>
128
129
<test id="Xmx">
130
<command>$EXE$ -Xmx16M $CLASS$</command>
131
<output>$FIBOUT$</output>
132
</test>
133
134
<test id="Xmn">
135
<command>$EXE$ -Xmn512K -Xgcpolicy:gencon -verbose:sizes $CLASS$</command>
136
<output>.*Xmn.*512K.*space.*</output>
137
</test>
138
139
<test id="Xmnx">
140
<command>$EXE$ -Xmnx1M -Xgcpolicy:gencon -verbose:sizes $CLASS$</command>
141
<output>.*Xmnx1M.*</output>
142
</test>
143
144
<test id="verbose:class">
145
<command>$EXE$ $CP$ -verbose:class $TARGET$</command>
146
<output>.*class.load:.*</output>
147
</test>
148
149
<test id="verbose:gc">
150
<command>$EXE$ $CP$ -verbose:gc $TARGET$</command>
151
<output>.*verbosegc.*</output>
152
</test>
153
154
<test id="verbose:stack">
155
<command>$EXE$ $CP$ -verbose:stack $TARGET$</command>
156
<output>.*Verbose.stack:.*</output>
157
</test>
158
159
<test id="verbose:sizes">
160
<command>$EXE$ $CP$ -verbose:sizes $TARGET$</command>
161
<output>.*operating.system.thread.stack.size.*</output>
162
</test>
163
164
<test id="Xmca">
165
<command>$EXE$ $CP$ -Xmca16K -verbose:sizes $TARGET$</command>
166
<output>.*Xmca16K.*</output>
167
</test>
168
169
<test id="Xmco">
170
<command>$EXE$ $CP$ -Xmco64K -verbose:sizes $TARGET$</command>
171
<output>.*Xmco64K.*</output>
172
</test>
173
174
<test id="Xms">
175
<command>$EXE$ $CP$ -Xms4M -verbose:sizes $TARGET$</command>
176
<output>.*Xms4M.*</output>
177
</test>
178
179
<test id="Xmr">
180
<command>$EXE$ $CP$ -Xmr32K -verbose:sizes $TARGET$</command>
181
<output>.*Xmr32K.*</output>
182
</test>
183
184
<test id="Xmso">
185
<command>$EXE$ $CP$ -Xmso256K -verbose:sizes $TARGET$</command>
186
<output platform="aix.*,linux.*,win.*,osx.*,zos_390-31.*">.*Xmso256K.*</output>
187
<output platform="zos_390-64.*">.*Xmso1M.*</output>
188
</test>
189
190
<test id="Xiss">
191
<command>$EXE$ $CP$ -Xiss1K -verbose:sizes $TARGET$</command>
192
<output>.*Xiss1K.*</output>
193
</test>
194
195
<test id="Xitn0">
196
<command>$EXE$ $CP$ -Xitn0 -Xtrace:print={j9bcu.197} $TARGET$</command>
197
<output>.*BCU stringInternTableNotCreated</output>
198
</test>
199
200
<test id="Xitn10000">
201
<command>$EXE$ $CP$ -Xitn10000 -Xtrace:print={j9bcu.195} $TARGET$</command>
202
<output>.*BCU stringInternTableCreated: nodeCount=10000</output>
203
</test>
204
205
<test id="D">
206
<command>$EXE$ -Duser.region=OttawaCanada $SYSPROPS$</command>
207
<output>.*OttawaCanada.*</output>
208
</test>
209
210
<test id="Xbootclasspath/a">
211
<command>$EXE$ $CP$ -Xbootclasspath/a:$Q$$FIBJAR$$Q$ $TARGET$</command>
212
<output>$FIBOUT$</output>
213
</test>
214
215
<test id="-Xlockword bad mode">
216
<command>$EXE$ $CP$ -Xlockword:mode=bad $TARGET$</command>
217
<output type="required">$INVALIDLOCKWORDMODE$</output>
218
<return type="success" value="1" />
219
</test>
220
221
<test id="-Xlockword default mode">
222
<command>$EXE$ $CP$ -Xlockword:mode=default $TARGET$</command>
223
<return type="success" value="0" />
224
</test>
225
226
<test id="-Xlockword minimizeFootprint mode">
227
<command>$EXE$ $CP$ -Xlockword:mode=minimizeFootprint $TARGET$</command>
228
<return type="success" value="0" />
229
</test>
230
231
<test id="-Xlockword all mode">
232
<command>$EXE$ $CP$ -Xlockword:mode=all $TARGET$</command>
233
<return type="success" value="0" />
234
</test>
235
236
<test id="-Xlockword bad option">
237
<command>$EXE$ $CP$ -Xlockword:badoption1 $TARGET$</command>
238
<return type="required" value="1" />
239
<output type="success" >$INVALIDLOCKWORDOPTION$</output>
240
</test>
241
242
<test id="-Xlockword bad option trailing separator">
243
<command>$EXE$ $CP$ -Xlockword:mode=default, $TARGET$</command>
244
<return type="required" value="1" />
245
<output type="success" >$INVALIDLOCKWORDOPTION$</output>
246
</test>
247
248
<test id="-Xlockword empty option">
249
<command>$EXE$ $CP$ -Xlockword:, $TARGET$</command>
250
<return type="required" value="1" />
251
<output type="success" >$INVALIDLOCKWORDOPTION$</output>
252
</test>
253
254
<test id="-Xlockword setting lockword">
255
<command>$EXE$ $CP$ -Xlockword:mode=default,lockword=a $TARGET$</command>
256
<return type="success" value="0" />
257
</test>
258
259
<test id="-Xlockword setting noLockword">
260
<command>$EXE$ $CP$ -Xlockword:mode=default,noLockword=b $TARGET$</command>
261
<return type="success" value="0" />
262
</test>
263
264
<test id="-Xlockword setting what">
265
<command>$EXE$ $CP$ -Xlockword:what $TARGET$</command>
266
<return type="required" value="0" />
267
<output type="success" >Lockword Configuration</output>
268
</test>
269
270
<test id="-Xlockword with two instance on command line">
271
<command>$EXE$ $CP$ -Xlockword:what -Xlockword:lockword=a $TARGET$</command>
272
<return type="required" value="0" />
273
<output type="success" >Lockword Configuration</output>
274
</test>
275
276
<test id="-Xlockword with duplicates">
277
<command>$EXE$ $CP$ -Xlockword:what -Xlockword:lockword=a,lockword=a $TARGET$</command>
278
<return type="required" value="0" />
279
<output type="success" >Lockword Configuration</output>
280
</test>
281
282
<test id="-Xthr:secondarySpinForObjectMonitors on command line">
283
<command>$EXE$ $CP$ -Xthr:secondarySpinForObjectMonitors $TARGET$</command>
284
<return type="required" value="0" />
285
<output>$FIBOUT$</output>
286
</test>
287
288
<test id="-Xthr:noSecondarySpinForObjectMonitors on command line">
289
<command>$EXE$ $CP$ -Xthr:noSecondarySpinForObjectMonitors $TARGET$</command>
290
<return type="required" value="0" />
291
<output>$FIBOUT$</output>
292
</test>
293
294
<test id="-Xthr:adaptSpin on command line">
295
<command>$EXE$ $CP$ -Xthr:adaptSpin $TARGET$</command>
296
<return type="required" value="0" />
297
<output>$FIBOUT$</output>
298
</test>
299
300
<test id="-Xthr:noAdaptSpin on command line">
301
<command>$EXE$ $CP$ -Xthr:noAdaptSpin $TARGET$</command>
302
<return type="required" value="0" />
303
<output>$FIBOUT$</output>
304
</test>
305
306
<test id="-Xpreloaduser32">
307
<command>$EXE$ $CP$ -Xpreloaduser32 $TARGET$</command>
308
<return type="required" value="0" />
309
<output>$FIBOUT$</output>
310
</test>
311
312
<test id="-Xpreloaduser32 -Xprotectcontiguous">
313
<command>$EXE$ $CP$ -Xpreloaduser32 -Xprotectcontiguous $TARGET$</command>
314
<return type="required" value="0" />
315
<output>$FIBOUT$</output>
316
</test>
317
318
<test id="-Xpreloaduser32 -Xnoprotectcontiguous">
319
<command>$EXE$ $CP$ -Xpreloaduser32 -Xnoprotectcontiguous $TARGET$</command>
320
<return type="required" value="0" />
321
<output>$FIBOUT$</output>
322
</test>
323
324
<test id="-Xnopreloaduser32">
325
<command>$EXE$ $CP$ -Xnopreloaduser32 $TARGET$</command>
326
<return type="required" value="0" />
327
<output>$FIBOUT$</output>
328
</test>
329
330
<test id="-Xnopreloaduser32 -Xprotectcontiguous">
331
<command>$EXE$ $CP$ -Xnopreloaduser32 -Xprotectcontiguous $TARGET$</command>
332
<return type="required" value="0" />
333
<output>$FIBOUT$</output>
334
</test>
335
336
<test id="-Xnopreloaduser32 -Xnoprotectcontiguous">
337
<command>$EXE$ $CP$ -Xnopreloaduser32 -Xnoprotectcontiguous $TARGET$</command>
338
<return type="required" value="0" />
339
<output>$FIBOUT$</output>
340
</test>
341
342
<test id="-Xprotectcontiguous">
343
<command>$EXE$ $CP$ -Xprotectcontiguous $TARGET$</command>
344
<return type="required" value="0" />
345
<output>$FIBOUT$</output>
346
</test>
347
348
<test id="-Xnoprotectcontiguous">
349
<command>$EXE$ $CP$ -Xnoprotectcontiguous $TARGET$</command>
350
<return type="required" value="0" />
351
<output>$FIBOUT$</output>
352
</test>
353
354
<test id="-Xtune:virtualized">
355
<command>$EXE$ $CP$ -Xtune:virtualized $TARGET$</command>
356
<return type="success" value="0" />
357
</test>
358
359
<test id="-Xthr:cfsYield">
360
<command>$EXE$ $CP$ -Xthr:cfsYield -Xtrace:iprint=j9vm.445 $TARGET$</command>
361
<output type="success" regex="no">$INCREASINGUSLEEP$</output>
362
<output type="success" regex="yes">$SCHEDCOMPAT1$</output>
363
<output type="success" regex="yes">$NOSCHEDCOMPAT$</output>
364
<return type="required" value="0" />
365
</test>
366
367
<test id="-Xthr:noCfsYield">
368
<command>$EXE$ $CP$ -Xthr:noCfsYield -Xtrace:iprint=j9vm.445 $TARGET$</command>
369
<output type="success" regex="no">$SCHEDYIELD$</output>
370
<output type="success" regex="yes">$SCHEDCOMPAT1$</output>
371
<output type="success" regex="yes">$NOSCHEDCOMPAT$</output>
372
<return type="required" value="0" />
373
</test>
374
375
<test id="-Xthr:yieldAlgorithm=3">
376
<command>$EXE$ $CP$ -Xthr:yieldAlgorithm=3 -Xtrace:iprint=j9vm.445 $TARGET$</command>
377
<output type="success" regex="no">$INCREASINGUSLEEP$</output>
378
<return type="required" value="0" />
379
</test>
380
381
<test id="-Xthr:yieldUsleepMultiplier=60">
382
<command>$EXE$ $CP$ -Xthr:yieldUsleepMultiplier=60 -Xtrace:iprint=j9vm.445 $TARGET$</command>
383
<output type="success" regex="no">yieldUsleepMultiplier=60.</output>
384
<return type="required" value="0" />
385
</test>
386
387
<test id="-Xthr:cfsYield,noCfsYield">
388
<command>$EXE$ $CP$ -Xthr:cfsYield,noCfsYield -Xtrace:iprint=j9vm.445 $TARGET$</command>
389
<output type="success" regex="no">$SCHEDYIELD$</output>
390
<return type="required" value="0" />
391
</test>
392
393
<test id="-Xthr:yieldAlgorithm=2,yieldUsleepMultiplier=10">
394
<command>$EXE$ $CP$ -Xthr:yieldAlgorithm=2,yieldUsleepMultiplier=10 -Xtrace:iprint=j9vm.445 $TARGET$</command>
395
<output type="success" regex="no">$CONSTANTUSLEEP$</output>
396
<output type="success" regex="no">yieldUsleepMultiplier=10.</output>
397
<return type="required" value="0" />
398
</test>
399
400
<test id="-Xaggressive">
401
<command>$EXE$ $CP$ -Xaggressive -Xtrace:iprint=j9vm.445 $TARGET$</command>
402
<output type="success" regex="no">$INCREASINGUSLEEP$</output>
403
<output type="success" regex="yes">$SCHEDCOMPAT1$</output>
404
<output type="success" regex="yes">$NOSCHEDCOMPAT$</output>
405
<return type="required" value="0" />
406
</test>
407
408
<test id="defaultBehaviourOfCFS">
409
<command>$EXE$ $CP$ -Xtrace:iprint=j9vm.445 $TARGET$</command>
410
<output type="success" regex="no">$INCREASINGUSLEEP$</output>
411
<output type="success" regex="yes">$SCHEDCOMPAT1$</output>
412
<output type="success" regex="yes">$NOSCHEDCOMPAT$</output>
413
<return type="required" value="0" />
414
</test>
415
416
<test id="Test -XX:ActiveProcessorCount option accepted">
417
<command>$EXE$ -XX:ActiveProcessorCount=5 $VERSION$ </command>
418
<output regex="no" type="success">version</output>
419
<output regex="no" type="failure">JVMJ9VM013W</output>
420
</test>
421
422
<test id="Test -XX:ActiveProcessorCount negative value">
423
<command>$EXE$ -XX:ActiveProcessorCount=-1 $VERSION$ </command>
424
<output regex="no" type="success">JVMJ9VM013W</output>
425
<output regex="no" type="failure">version</output>
426
</test>
427
428
<test id="Test -XX:ActiveProcessorCount non-numeric value">
429
<command>$EXE$ -XX:ActiveProcessorCount=Z $VERSION$ </command>
430
<output regex="no" type="success">JVMJ9VM013W</output>
431
<output regex="no" type="failure">version</output>
432
</test>
433
434
<test id="Test -XX:ActiveProcessorCount alphanumeric value">
435
<command>$EXE$ -XX:ActiveProcessorCount=123Z $VERSION$ </command>
436
<output regex="no" type="success">JVMJ9VM013W</output>
437
<output regex="no" type="failure">version</output>
438
</test>
439
440
<test id="Verify -XX:+VMLockClassLoader sets the flag">
441
<command>$EXE$ $CP$ -XX:-VMLockClassLoader -XX:+VMLockClassLoader -Xtrace:print=j9vm.463 $TARGET$</command>
442
<output type="required" regex="yes">.*locking enabled.*</output>
443
<return type="success" value="0" />
444
</test>
445
446
<test id="Verify -XX:-VMLockClassLoader clears the flag">
447
<command>$EXE$ $CP$ -XX:+VMLockClassLoader -XX:-VMLockClassLoader -Xtrace:print=j9vm.463 $TARGET$</command>
448
<output type="required" regex="yes">.*locking disabled.*</output>
449
<return type="success" value="0" />
450
</test>
451
452
<test id="Verify a very long (~1500 bytes) command line option">
453
<command>$EXE$ -Djava.home=$INVALIDVERYLONGOPTION$ $VERSION$</command>
454
<output regex="no" type="success">Error: Could not create the Java Virtual Machine</output>
455
<output regex="no" type="failure">version</output>
456
</test>
457
458
<test id="Test combining options -Xint and -XtlhPrefetch">
459
<command>$EXE$ -Xint -XtlhPrefetch -version</command>
460
<output regex="no" type="success">version</output>
461
<output regex="no" type="failure">JVMJ9VM007E</output>
462
</test>
463
464
<test id="Test option -Xtrace:output" timeout="60">
465
<command>$EXE$ -Xtrace:output=testTraceOutput.trc -version</command>
466
<output regex="no" type="success">version</output>
467
</test>
468
469
<test id="-XX:-InterleaveMemory">
470
<command>$EXE$ -XX:-InterleaveMemory $CLASS$</command>
471
<output>$FIBOUT$</output>
472
</test>
473
<test id="-XX:-InterleaveMemory -XX:+InterleaveMemory">
474
<command>$EXE$ -XX:-InterleaveMemory -XX:+InterleaveMemory $CLASS$</command>
475
<output>$FIBOUT$</output>
476
</test>
477
478
<test id="-XX:+InterleaveMemory">
479
<command>$EXE$ -XX:+InterleaveMemory $CLASS$</command>
480
<output>$FIBOUT$</output>
481
</test>
482
483
<test id="-Xdump:suspendwith=2 -Xdump:java:events=vmstop" platforms="linux.*">
484
<command>$EXE$ -Xdump:suspendwith=2 -Xdump:java:events=vmstop $CLASS$</command>
485
<output type="success">$FIBOUT$</output>
486
<output regex="yes" type="required">.*JVM requested Java dump using.*</output>
487
</test>
488
489
<test id="-Xdump:suspendwith=2 -Xdump:java:events=vmstop" platforms="win.*,aix.*">
490
<command>$EXE$ -Xdump:suspendwith=2 -Xdump:java:events=vmstop $CLASS$</command>
491
<output>=2</output> <output regex="yes" type="success">.*Dump option unrecognized.*-Xdump:suspendwith.*</output>
492
</test>
493
494
<test id="Test system properties that resemble Unicode escapes">
495
<command>$EXE$ -Darg1=\u0058 -Darg2=\\u0058 -XshowSettings:properties -version</command>
496
<output regex="no" type="success">arg1 = \u0058</output>
497
<output regex="no" type="success">arg2 = \\u0058</output>
498
</test>
499
500
<test id="Test system properties that resemble Unicode escapes (with translation)">
501
<command>$EXE$ -Xargencoding -Darg1=\u0058 -Darg2=\\u0058 -XshowSettings:properties -version</command>
502
<output regex="no" type="success">arg1 = X</output>
503
<output regex="no" type="success">arg2 = \X</output>
504
</test>
505
506
<test id="Test option -Xjit:count=0,disableZ196">
507
<command>$EXE$ -Xjit:count=0,disableZ196 -version</command>
508
<output regex="no" type="success">version</output>
509
</test>
510
511
<test id="Test option -Xjit:count=0,disableZEC12">
512
<command>$EXE$ -Xjit:count=0,disableZEC12 -version</command>
513
<output regex="no" type="success">version</output>
514
</test>
515
516
<test id="Test option -Xjit:count=0,disableZ13">
517
<command>$EXE$ -Xjit:count=0,disableZ13 -version</command>
518
<output regex="no" type="success">version</output>
519
</test>
520
521
<test id="Test option -Xjit:count=0,disableZ14">
522
<command>$EXE$ -Xjit:count=0,disableZ14 -version</command>
523
<output regex="no" type="success">version</output>
524
</test>
525
526
<test id="Test option -Xjit:count=0,disableZ15">
527
<command>$EXE$ -Xjit:count=0,disableZ15 -version</command>
528
<output regex="no" type="success">version</output>
529
</test>
530
531
</suite>
532
533