1 #
  2 # Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
  3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4 #
  5 # This code is free software; you can redistribute it and/or modify it
  6 # under the terms of the GNU General Public License version 2 only, as
  7 # published by the Free Software Foundation.
  8 #
  9 # This code is distributed in the hope that it will be useful, but WITHOUT
 10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12 # version 2 for more details (a copy is included in the LICENSE file that
 13 # accompanied this code).
 14 #
 15 # You should have received a copy of the GNU General Public License version
 16 # 2 along with this work; if not, write to the Free Software Foundation,
 17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18 #
 19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20 # or visit www.oracle.com if you need additional information or have any
 21 # questions.
 22 #
 23 
 24 # All tests
 25 
 26 all = \
 27   :hotspot_all
 28 
 29 hotspot_all = \
 30   /
 31 
 32 hotspot_all_no_apps = \
 33   / \
 34   -applications
 35 
 36 # Component test groups
 37 
 38 hotspot_compiler = \
 39   compiler
 40 
 41 hotspot_compiler_xcomp = \
 42   :hotspot_compiler \
 43   -:tier1_compiler_not_xcomp
 44 
 45 hotspot_gc = \
 46   gc
 47 
 48 # By design this group should include ALL tests under runtime sub-directory
 49 hotspot_runtime = \
 50   runtime
 51 
 52 hotspot_runtime_no_cds = \
 53   runtime \
 54   -runtime/cds
 55 
 56 hotspot_runtime_non_cds_mode = \
 57   runtime \
 58   -runtime/cds/CheckSharingWithDefaultArchive.java \
 59   -runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java \
 60   -runtime/cds/appcds/dynamicArchive/DynamicSharedSymbols.java \
 61   -runtime/cds/appcds/dynamicArchive/TestAutoCreateSharedArchive.java \
 62   -runtime/cds/appcds/jcmd
 63 
 64 hotspot_handshake = \
 65   runtime/handshake
 66 
 67 hotspot_serviceability = \
 68   serviceability
 69 
 70 hotspot_resourcehogs = \
 71   resourcehogs
 72 
 73 hotspot_misc = \
 74   / \
 75  -applications \
 76  -vmTestbase \
 77  -:hotspot_compiler \
 78  -:hotspot_gc \
 79  -:hotspot_runtime \
 80  -:hotspot_serviceability \
 81  -:hotspot_containers
 82 
 83 hotspot_native_sanity = \
 84   native_sanity
 85 
 86 hotspot_containers = \
 87   containers
 88 
 89 # Test sets for running inside container environment
 90 hotspot_containers_extended = \
 91   runtime \
 92   serviceability \
 93   vmTestbase/nsk/jvmti \
 94   vmTestbase/nsk/monitoring
 95 
 96 hotspot_vector_1 = \
 97   compiler/c2/cr6340864 \
 98   compiler/c2/irTests \
 99   compiler/codegen \
100   compiler/loopopts/superword \
101   compiler/vectorapi \
102   compiler/vectorization \
103   -compiler/codegen/aes \
104   -compiler/codegen/Test6875866.java \
105   -compiler/codegen/Test6935535.java \
106   -compiler/codegen/TestGCMStorePlacement.java \
107   -compiler/codegen/TestTrichotomyExpressions.java \
108   -compiler/loopopts/superword/Vec_MulAddS2I.java \
109   -compiler/vectorapi/VectorRebracket128Test.java
110 
111 hotspot_vector_2 = \
112   compiler/intrinsics \
113   compiler/codegen/aes \
114   compiler/codegen/Test6875866.java \
115   compiler/codegen/Test6935535.java \
116   compiler/loopopts/superword/Vec_MulAddS2I.java \
117   compiler/vectorapi/VectorRebracket128Test.java \
118   -compiler/intrinsics/string/TestStringLatin1IndexOfChar.java
119 
120 hotspot_compiler_arraycopy = \
121   compiler/arraycopy/stress
122 
123 tier1_loom = \
124   :tier1_loom_runtime \
125   :tier1_loom_serviceability
126 
127 tier1_loom_runtime = \
128   runtime/vthread \
129   runtime/jni/IsVirtualThread
130 
131 tier1_loom_serviceability = \
132   serviceability/jvmti/vthread \
133   serviceability/jvmti/events \
134   serviceability/dcmd/thread
135 
136 hotspot_loom = \
137   :tier1_loom
138 
139 serviceability_ttf_virtual = \
140   serviceability/ \
141   -serviceability/jvmti/vthread \
142   -serviceability/jvmti/thread  \
143   -serviceability/jvmti/events  \
144   -serviceability/jvmti/negative
145 
146 tier1_common = \
147   sanity/BasicVMTest.java \
148   gtest/GTestWrapper.java \
149   gtest/LockStackGtests.java \
150   gtest/MetaspaceGtests.java \
151   gtest/LargePageGtests.java \
152   gtest/NMTGtests.java \
153   gtest/WindowsProcessorGroups.java
154 
155 tier1_compiler = \
156   :tier1_compiler_1 \
157   :tier1_compiler_2 \
158   :tier1_compiler_3 \
159   :tier1_compiler_not_xcomp
160 
161 hotspot_not_fast_compiler = \
162   :hotspot_compiler \
163   -:tier1_compiler \
164   -:hotspot_slow_compiler
165 
166 hotspot_slow_compiler = \
167   compiler/codegen/aes \
168   compiler/codecache/stress \
169   compiler/gcbarriers/PreserveFPRegistersTest.java \
170   compiler/memoryinitialization/ZeroTLABTest.java \
171   compiler/classUnloading/methodUnloading/TestOverloadCompileQueues.java \
172   resourcehogs/compiler \
173   :hotspot_compiler_arraycopy
174 
175 tier1_compiler_1 = \
176   compiler/arraycopy/ \
177   compiler/blackhole/ \
178   compiler/c1/ \
179   compiler/c2/ \
180   -compiler/c2/Test6850611.java \
181   -compiler/c2/cr6890943/Test6890943.java \
182   -compiler/c2/Test6905845.java \
183   -compiler/c2/cr6340864 \
184   -compiler/c2/cr6589834 \
185   -compiler/c2/cr8004867 \
186   -compiler/c2/stemmer \
187   -compiler/c2/Test6792161.java \
188   -compiler/c2/Test6603011.java \
189   -compiler/c2/Test6912517.java \
190   -:hotspot_slow_compiler
191 
192 tier1_compiler_2 = \
193   compiler/classUnloading/ \
194   compiler/codecache/ \
195   compiler/codegen/ \
196   compiler/cpuflags/ \
197   compiler/dependencies/ \
198   compiler/eliminateAutobox/ \
199   compiler/escapeAnalysis/ \
200   compiler/exceptions/ \
201   compiler/floatingpoint/ \
202   compiler/gcbarriers/ \
203   compiler/inlining/ \
204   compiler/integerArithmetic/ \
205   compiler/interpreter/ \
206   compiler/jvmci/ \
207   -:hotspot_slow_compiler
208 
209 tier1_compiler_3 = \
210   compiler/intrinsics/ \
211   compiler/jsr292/ \
212   compiler/locks/ \
213   compiler/loopopts/ \
214   compiler/macronodes/ \
215   compiler/memoryinitialization/ \
216   compiler/osr/ \
217   compiler/regalloc/ \
218   compiler/runtime/ \
219   compiler/startup/ \
220   compiler/types/ \
221   compiler/uncommontrap/ \
222   compiler/unsafe/ \
223   compiler/vectorization/ \
224   -compiler/intrinsics/bmi \
225   -compiler/intrinsics/mathexact \
226   -compiler/intrinsics/sha \
227   -compiler/intrinsics/bigInteger/TestMultiplyToLen.java \
228   -compiler/intrinsics/zip/TestAdler32.java \
229   -compiler/loopopts/Test7052494.java \
230   -compiler/runtime/Test6826736.java
231 
232 tier2_compiler = \
233   compiler/allocation/ \
234   compiler/arguments/ \
235   compiler/calls/ \
236   compiler/cha/ \
237   compiler/controldependency/ \
238   compiler/conversions/ \
239   compiler/codegen/ \
240   compiler/linkage/ \
241   compiler/loopstripmining/ \
242   compiler/loopopts/Test7052494.java \
243   compiler/longcountedloops/ \
244   compiler/intrinsics/bmi \
245   compiler/intrinsics/mathexact \
246   compiler/intrinsics/sha \
247   compiler/intrinsics/bigInteger/TestMultiplyToLen.java \
248   compiler/intrinsics/zip/TestAdler32.java \
249   compiler/membars/ \
250   compiler/onSpinWait/ \
251   compiler/parsing/ \
252   compiler/rangechecks/ \
253   compiler/reflection/ \
254   compiler/runtime/Test6826736.java \
255   compiler/stable/ \
256   compiler/stringopts/ \
257   -:tier1_compiler \
258   -:hotspot_slow_compiler
259 
260 tier3_compiler = \
261   applications/ctw/modules \
262   compiler/c2/ \
263   compiler/ciReplay/ \
264   compiler/compilercontrol/ \
265   compiler/debug/ \
266   compiler/oracle/ \
267   compiler/print/ \
268   compiler/relocations/ \
269   compiler/tiered/ \
270   compiler/vectorapi/ \
271   compiler/whitebox/ \
272   :hotspot_slow_compiler \
273   -:tier1_compiler \
274   -:tier2_compiler
275 
276 tier1_compiler_not_xcomp = \
277   compiler/profiling
278 
279 ctw_1 = \
280   applications/ctw/modules/ \
281   -:ctw_2 \
282   -:ctw_3
283 
284 ctw_2 = \
285   applications/ctw/modules/java_base.java \
286   applications/ctw/modules/java_base_2.java \
287   applications/ctw/modules/java_desktop.java \
288   applications/ctw/modules/java_desktop_2.java
289 
290 ctw_3 = \
291   applications/ctw/modules/java_xml.java \
292   applications/ctw/modules/jdk_compiler.java \
293   applications/ctw/modules/jdk_localedata.java \
294   applications/ctw/modules/jdk_localedata_2.java
295 
296 tier1_gc = \
297   :tier1_gc_1 \
298   :tier1_gc_2 \
299   :tier1_gc_gcbasher \
300   :tier1_gc_epsilon \
301   :tier1_gc_shenandoah
302 
303 hotspot_not_fast_gc = \
304   :hotspot_gc \
305   -:tier1_gc
306 
307 tier1_gc_1 = \
308   gc/g1/ \
309   -gc/g1/ihop/TestIHOPErgo.java
310 
311 tier1_gc_2 = \
312   gc/ \
313   -gc/g1/ \
314   -gc/logging/TestUnifiedLoggingSwitchStress.java \
315   -gc/stress \
316   -gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java \
317   -gc/epsilon \
318   -gc/shenandoah
319 
320 hotspot_gc_epsilon = \
321   :tier1_gc_epsilon \
322   :tier2_gc_epsilon
323 
324 tier1_gc_epsilon = \
325   gc/epsilon/
326 
327 tier2_gc_epsilon =
328 
329 tier3_gc_gcold = \
330   gc/stress/gcold/TestGCOldWithG1.java \
331   gc/stress/gcold/TestGCOldWithSerial.java \
332   gc/stress/gcold/TestGCOldWithParallel.java
333 
334 tier1_gc_gcbasher = \
335   gc/stress/gcbasher/TestGCBasherWithG1.java \
336   gc/stress/gcbasher/TestGCBasherWithSerial.java \
337   gc/stress/gcbasher/TestGCBasherWithParallel.java
338 
339 tier1_gc_shenandoah = \
340   gc/shenandoah/options/ \
341   gc/shenandoah/compiler/ \
342   gc/shenandoah/mxbeans/ \
343   gc/shenandoah/TestSmallHeap.java \
344   gc/shenandoah/oom/
345 
346 tier2_gc_shenandoah = \
347   runtime/MemberName/MemberNameLeak.java \
348   runtime/CompressedOops/UseCompressedOops.java \
349   gc/TestHumongousReferenceObject.java \
350   gc/TestSystemGC.java \
351   gc/arguments/TestDisableDefaultGC.java \
352   gc/arguments/TestUseCompressedOopsErgo.java \
353   gc/arguments/TestAlignmentToUseLargePages.java \
354   gc/class_unloading/TestClassUnloadingDisabled.java \
355   gc/ergonomics/TestInitialGCThreadLogging.java \
356   gc/ergonomics/TestDynamicNumberOfGCThreads.java \
357   gc/logging/TestGCId.java \
358   gc/logging/TestMetaSpaceLog.java \
359   gc/metaspace/TestMetaspacePerfCounters.java \
360   gc/metaspace/TestMetaspacePerfCounters.java \
361   gc/TestFullGCALot.java \
362   gc/logging/TestUnifiedLoggingSwitchStress.java \
363   runtime/Metaspace/DefineClass.java \
364   gc/shenandoah/ \
365   serviceability/sa/TestHeapDumpForInvokeDynamic.java \
366   -gc/shenandoah/TestStringDedupStress.java \
367   -:tier1_gc_shenandoah
368 
369 tier3_gc_shenandoah = \
370   gc/stress/gcold/TestGCOldWithShenandoah.java \
371   gc/stress/gcbasher/TestGCBasherWithShenandoah.java \
372   gc/stress/systemgc/TestSystemGCWithShenandoah.java \
373   gc/shenandoah/TestStringDedupStress.java \
374   -:tier2_gc_shenandoah
375 
376 hotspot_gc_shenandoah = \
377   :tier1_gc_shenandoah \
378   :tier2_gc_shenandoah \
379   :tier3_gc_shenandoah
380 
381 tier1_runtime = \
382   runtime/ \
383  -runtime/6626217/bug_21227.java \
384  -runtime/7100935 \
385  -runtime/7158988/FieldMonitor.java \
386  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
387  -runtime/CommandLine/PrintGCApplicationConcurrentTime.java \
388  -runtime/CompressedOops/UseCompressedOops.java \
389  -runtime/ConstantPool/IntfMethod.java \
390  -runtime/ErrorHandling/CreateCoredumpOnCrash.java \
391  -runtime/ErrorHandling/ReattemptErrorTest.java \
392  -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \
393  -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \
394  -runtime/InvocationTests \
395  -runtime/logging/MonitorMismatchTest.java \
396  -runtime/memory/ReserveMemory.java \
397  -runtime/Metaspace/FragmentMetaspace.java \
398  -runtime/Metaspace/FragmentMetaspaceSimple.java \
399  -runtime/MirrorFrame/Test8003720.java \
400  -runtime/modules/LoadUnloadModuleStress.java \
401  -runtime/modules/ModuleStress/ExportModuleStressTest.java \
402  -runtime/modules/ModuleStress/ModuleStressGC.java \
403  -runtime/Monitor/ConcurrentDeflation.java \
404  -runtime/ReservedStack \
405  -runtime/SelectionResolution/AbstractMethodErrorTest.java \
406  -runtime/SelectionResolution/IllegalAccessErrorTest.java \
407  -runtime/SelectionResolution/InvokeInterfaceICCE.java \
408  -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \
409  -runtime/SelectionResolution/InvokeSpecialICCE.java \
410  -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \
411  -runtime/SelectionResolution/InvokeStaticICCE.java \
412  -runtime/SelectionResolution/InvokeVirtualICCE.java \
413  -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \
414  -runtime/cds/CdsSameObjectAlignment.java \
415  -runtime/cds/SharedBaseAddress.java \
416  -runtime/Thread/CancellableThreadTest.java \
417  -runtime/Thread/ThreadCountLimit.java \
418  -runtime/Thread/TestThreadDumpMonitorContention.java \
419  -runtime/Unsafe/RangeCheck.java \
420   sanity/ \
421  -:tier1_runtime_appcds_exclude \
422  -runtime/signal \
423  -runtime/stack
424 
425 hotspot_cds = \
426   runtime/cds/ \
427   runtime/CompressedOops/
428 
429 hotspot_cds_only = \
430   runtime/cds/
431 
432 hotspot_appcds_dynamic = \
433   runtime/cds/appcds/ \
434  -runtime/cds/appcds/applications \
435  -runtime/cds/appcds/cacheObject \
436  -runtime/cds/appcds/complexURI \
437  -runtime/cds/appcds/customLoader \
438  -runtime/cds/appcds/dynamicArchive \
439  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndFMG.java \
440  -runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java \
441  -runtime/cds/appcds/loaderConstraints/DynamicLoaderConstraintsTest.java \
442  -runtime/cds/appcds/indy/IndyAndJavac.java \
443  -runtime/cds/appcds/indy/IndyStringConcat.java \
444  -runtime/cds/appcds/indy/StringConcatStress2.java \
445  -runtime/cds/appcds/indy/StringConcatStress.java \
446  -runtime/cds/appcds/javaldr/ArrayTest.java \
447  -runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java \
448  -runtime/cds/appcds/javaldr/GCSharedStringsDuringDump.java \
449  -runtime/cds/appcds/javaldr/LockDuringDump.java \
450  -runtime/cds/appcds/jcmd/JCmdTestStaticDump.java \
451  -runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java \
452  -runtime/cds/appcds/jcmd/JCmdTestFileSafety.java \
453  -runtime/cds/appcds/jvmti/redefineClasses/OldClassAndRedefineClass.java \
454  -runtime/cds/appcds/lambdaForm/DefaultClassListLFInvokers.java \
455  -runtime/cds/appcds/leyden/DynamicProxyTest.java \
456  -runtime/cds/appcds/leyden/ExcludedClasses.java \
457  -runtime/cds/appcds/leyden/LeydenAndOldClasses.java \
458  -runtime/cds/appcds/leyden/LeydenGCFlags.java \
459  -runtime/cds/appcds/leyden/LeydenHello.java \
460  -runtime/cds/appcds/leyden/LeydenReflection.java \
461  -runtime/cds/appcds/methodHandles \
462  -runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java \
463  -runtime/cds/appcds/sharedStrings \
464  -runtime/cds/appcds/resolvedConstants \
465  -runtime/cds/appcds/ArchiveRelocationTest.java \
466  -runtime/cds/appcds/BadBSM.java \
467  -runtime/cds/appcds/CommandLineFlagCombo.java \
468  -runtime/cds/appcds/DumpClassList.java \
469  -runtime/cds/appcds/DumpClassListWithLF.java \
470  -runtime/cds/appcds/DumpRuntimeClassesTest.java \
471  -runtime/cds/appcds/DumpingWithNoCoops.java \
472  -runtime/cds/appcds/ExtraSymbols.java \
473  -runtime/cds/appcds/LambdaContainsOldInf.java \
474  -runtime/cds/appcds/LambdaEagerInit.java \
475  -runtime/cds/appcds/LambdaProxyClasslist.java \
476  -runtime/cds/appcds/LambdaVerificationFailedDuringDump.java \
477  -runtime/cds/appcds/LambdaWithJavaAgent.java \
478  -runtime/cds/appcds/LambdaWithUseImplMethodHandle.java \
479  -runtime/cds/appcds/LambdaWithOldClass.java \
480  -runtime/cds/appcds/LongClassListPath.java \
481  -runtime/cds/appcds/LotsOfClasses.java \
482  -runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java \
483  -runtime/cds/appcds/NonExistClasspath.java \
484  -runtime/cds/appcds/RelativePath.java \
485  -runtime/cds/appcds/SharedArchiveConsistency.java \
486  -runtime/cds/appcds/StaticArchiveWithLambda.java \
487  -runtime/cds/appcds/TestCombinedCompressedFlags.java \
488  -runtime/cds/appcds/TestEpsilonGCWithCDS.java \
489  -runtime/cds/appcds/TestParallelGCWithCDS.java \
490  -runtime/cds/appcds/TestSerialGCWithCDS.java \
491  -runtime/cds/appcds/TestZGCWithCDS.java \
492  -runtime/cds/appcds/UnusedCPDuringDump.java \
493  -runtime/cds/appcds/VerifierTest_1B.java
494 
495 hotspot_cds_relocation = \
496   gc/g1/TestSharedArchiveWithPreTouch.java \
497   runtime/cds \
498   runtime/modules/ModulesSymLink.java \
499   runtime/modules/PatchModule/PatchModuleCDS.java \
500   runtime/modules/PatchModule/PatchModuleClassList.java \
501   runtime/NMT \
502   serviceability/sa \
503  -runtime/cds/DeterministicDump.java
504 
505 hotspot_cds_verify_shared_spaces = \
506   runtime/cds/appcds/ArchiveRelocationTest.java \
507   runtime/cds/appcds/BootClassPathMismatch.java \
508   runtime/cds/appcds/HelloTest.java \
509   runtime/cds/appcds/VerifierTest_0.java \
510   runtime/cds/appcds/dynamicArchive/BasicLambdaTest.java \
511   runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java \
512   runtime/cds/appcds/dynamicArchive/HelloDynamic.java \
513   runtime/cds/appcds/dynamicArchive/LinkClassTest.java \
514   runtime/cds/appcds/dynamicArchive/MismatchedBaseArchive.java \
515   runtime/cds/appcds/customLoader/HelloCustom.java \
516   runtime/cds/appcds/customLoader/LoaderSegregationTest.java \
517   runtime/cds/appcds/javaldr/ArrayTest.java \
518   runtime/cds/appcds/jigsaw/modulepath/ExportModule.java \
519   runtime/cds/appcds/jvmti/dumpingWithAgent/DumpingWithJavaAgent.java \
520   runtime/cds/appcds/sharedStrings/SharedStringsBasic.java
521 
522 # No need to run every test with EpsilonGC. A small subset will provide enough
523 # coverage. Also avoid some tests that may OOM.
524 hotspot_cds_epsilongc = \
525   runtime/cds/appcds/HelloTest.java \
526   runtime/cds/appcds/MultiProcessSharing.java \
527   runtime/cds/appcds/StaticArchiveWithLambda.java \
528   runtime/cds/appcds/cacheObject \
529   runtime/cds/appcds/customLoader/ParallelTestSingleFP.java \
530   runtime/cds/appcds/dynamicArchive/HelloDynamic.java \
531   runtime/cds/appcds/javaldr \
532   runtime/cds/appcds/jigsaw \
533   runtime/cds/appcds/loaderConstraints
534 
535 # Run CDS tests with -XX:+AOTClassLinking. This should include most CDS tests, except for
536 # those that rely on redefining classes that are already archived.
537 hotspot_aot_classlinking = \
538   runtime/cds \
539  -runtime/cds/appcds/aotClassLinking \
540  -runtime/cds/appcds/BadBSM.java \
541  -runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.java \
542  -runtime/cds/appcds/cacheObject/ArchivedModuleCompareTest.java \
543  -runtime/cds/appcds/CDSandJFR.java \
544  -runtime/cds/appcds/customLoader/HelloCustom_JFR.java \
545  -runtime/cds/appcds/customLoader/ParallelTestMultiFP.java \
546  -runtime/cds/appcds/customLoader/ParallelTestSingleFP.java \
547  -runtime/cds/appcds/customLoader/SameNameInTwoLoadersTest.java \
548  -runtime/cds/appcds/DumpClassListWithLF.java \
549  -runtime/cds/appcds/dynamicArchive/ModulePath.java \
550  -runtime/cds/appcds/dynamicArchive/LambdaInBaseArchive.java \
551  -runtime/cds/appcds/dynamicArchive/LambdasInTwoArchives.java \
552  -runtime/cds/appcds/HelloExtTest.java \
553  -runtime/cds/appcds/javaldr/AnonVmClassesDuringDump.java \
554  -runtime/cds/appcds/javaldr/GCDuringDump.java \
555  -runtime/cds/appcds/javaldr/LockDuringDump.java \
556  -runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java \
557  -runtime/cds/appcds/jigsaw/JigsawOptionsCombo.java \
558  -runtime/cds/appcds/jigsaw/modulepath/AddOpens.java \
559  -runtime/cds/appcds/jigsaw/modulepath/AddModules.java \
560  -runtime/cds/appcds/jigsaw/modulepath/JvmtiAddPath.java \
561  -runtime/cds/appcds/jigsaw/modulepath/MainModuleOnly.java \
562  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP.java \
563  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP_JFR.java \
564  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndFMG.java \
565  -runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java \
566  -runtime/cds/appcds/jigsaw/overridetests/OverrideTests.java \
567  -runtime/cds/appcds/jigsaw/RedefineClassesInModuleGraph.java \
568  -runtime/cds/appcds/JvmtiAddPath.java \
569  -runtime/cds/appcds/jvmti \
570  -runtime/cds/appcds/LambdaProxyClasslist.java \
571  -runtime/cds/appcds/loaderConstraints/LoaderConstraintsTest.java \
572  -runtime/cds/appcds/redefineClass \
573  -runtime/cds/appcds/resolvedConstants/AOTLinkedLambdas.java \
574  -runtime/cds/appcds/resolvedConstants/AOTLinkedVarHandles.java \
575  -runtime/cds/appcds/resolvedConstants/ResolvedConstants.java \
576  -runtime/cds/appcds/RewriteBytecodesTest.java \
577  -runtime/cds/appcds/SpecifySysLoaderProp.java \
578  -runtime/cds/appcds/StaticArchiveWithLambda.java \
579  -runtime/cds/appcds/TestEpsilonGCWithCDS.java \
580  -runtime/cds/appcds/TestParallelGCWithCDS.java \
581  -runtime/cds/appcds/TestSerialGCWithCDS.java \
582  -runtime/cds/appcds/TestZGCWithCDS.java \
583  -runtime/cds/appcds/TestWithProfiler.java \
584  -runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java \
585  -runtime/cds/serviceability/ReplaceCriticalClasses.java \
586  -runtime/cds/serviceability/transformRelatedClasses/TransformInterfaceAndImplementor.java \
587  -runtime/cds/serviceability/transformRelatedClasses/TransformSuperAndSubClasses.java \
588  -runtime/cds/serviceability/transformRelatedClasses/TransformSuperSubTwoPckgs.java
589 
590 # needs -nativepath:<output>/images/test/hotspot/jtreg/native/
591 hotspot_metaspace = \
592   gtest/MetaspaceGtests.java \
593   gc/metaspace \
594   gc/class_unloading \
595   runtime/Metaspace \
596   vmTestbase/metaspace \
597   runtime/SelectionResolution
598 
599 # A subset of AppCDS tests to be run in tier1
600 tier1_runtime_appcds = \
601   runtime/cds/appcds/HelloTest.java \
602   runtime/cds/appcds/sharedStrings/SharedStringsBasic.java \
603   runtime/cds/appcds/ClassLoaderTest.java
604 
605 tier1_runtime_appcds_exclude = \
606   runtime/cds/appcds/ \
607   -:tier1_runtime_appcds
608 
609 tier1_runtime_no_cds = \
610    :tier1_runtime \
611    -runtime/cds
612 
613 # This group should be executed with "jtreg -Dtest.cds.run.with.jfr=true ..."
614 # to test interaction between AppCDS and JFR. It also has the side effect of
615 # testing JVMTI ClassFileLoadHook.
616 #
617 # The excluded tests disallow the jdk.jfr module, which is required to
618 # run with JFR.
619 hotspot_appcds_with_jfr = \
620   runtime/cds/appcds/ \
621  -runtime/cds/appcds/cacheObject/ArchivedModuleCompareTest.java \
622  -runtime/cds/appcds/jigsaw/classpathtests/BootAppendTests.java \
623  -runtime/cds/appcds/jigsaw/classpathtests/ClassPathTests.java \
624  -runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java \
625  -runtime/cds/appcds/jigsaw/JigsawOptionsCombo.java \
626  -runtime/cds/appcds/jigsaw/modulepath/MainModuleOnly.java
627 
628 tier1_serviceability = \
629   serviceability/ \
630   -serviceability/dcmd/compiler/CompilerQueueTest.java \
631   -serviceability/jvmti/RedefineClasses/RedefineLeak.java \
632   -serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java \
633   -serviceability/jvmti/RedefineClasses/RedefinePreviousVersions.java \
634   -serviceability/jvmti/RedefineClasses/RedefineRunningMethods.java \
635   -serviceability/jvmti/RedefineClasses/RedefineRunningMethodsWithBacktrace.java \
636   -serviceability/jvmti/RedefineClasses/TestRedefineObject.java \
637   -serviceability/sa/ClhsdbScanOops.java \
638   -serviceability/sa/ClhsdbJstackXcompStress.java \
639   -serviceability/sa/TestJmapCore.java \
640   -serviceability/sa/TestJmapCoreMetaspace.java
641 
642 tier1 = \
643   :tier1_common \
644   :tier1_compiler \
645   :tier1_gc \
646   :tier1_runtime \
647   :tier1_serviceability
648 
649 tier2 = \
650   :hotspot_tier2_runtime \
651   :hotspot_tier2_runtime_platform_agnostic \
652   :hotspot_tier2_serviceability \
653   :tier2_compiler \
654   :tier2_gc_epsilon \
655   :tier2_gc_shenandoah
656 
657 tier3 = \
658   :hotspot_tier3_runtime \
659   :tier3_compiler \
660   :tier3_gc_gcold \
661   :tier3_gc_shenandoah
662 
663 # Everything that is not in other tiers, but not apps
664 tier4 = \
665   :hotspot_all_no_apps \
666  -:tier1 \
667  -:tier2 \
668  -:tier3
669 
670 hotspot_tier2_runtime = \
671   runtime/ \
672  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
673  -runtime/CompressedOops/UseCompressedOops.java \
674  -runtime/InvocationTests \
675  -runtime/Thread/TestThreadDumpMonitorContention.java \
676  -:tier1_runtime \
677  -:hotspot_tier2_runtime_platform_agnostic \
678  -runtime/signal \
679  -runtime/NMT/MallocStressTest.java
680 
681 hotspot_tier2_serviceability = \
682   serviceability/ \
683  -:tier1_serviceability
684 
685 hotspot_tier2_runtime_platform_agnostic = \
686   runtime/SelectionResolution \
687  -:tier1_runtime
688 
689 hotspot_tier3_runtime = \
690   runtime/ \
691  -:tier1_runtime \
692  -:hotspot_tier2_runtime_platform_agnostic \
693  -:hotspot_tier2_runtime
694 
695 hotspot_runtime_minimalvm = \
696   runtime/MinimalVM \
697   runtime/ErrorHandling \
698   runtime/logging
699 
700 hotspot_nmt = \
701   runtime/NMT \
702   gtest/NMTGtests.java
703 
704 hotspot_rest_runtime = \
705   :hotspot_runtime \
706   -:tier1_runtime \
707   -:tier1_runtime_appcds_exclude \
708   -:hotspot_nmt \
709   -:hotspot_tier2_runtime_platform_agnostic
710 
711 jcstress_part1 = \
712   applications/jcstress/seqcst.java
713 
714 jcstress_part2 = \
715   applications/jcstress/accessAtomic.java \
716   applications/jcstress/acqrel.java \
717   applications/jcstress/atomics.java \
718   applications/jcstress/coherence.java \
719   applications/jcstress/locks.java
720 
721 jcstress_part3 = \
722   applications/jcstress \
723   -:jcstress_part1 \
724   -:jcstress_part2
725 
726 # Stress tests against information provided by VM via JMX
727 vmTestbase_nsk_monitoring = \
728   vmTestbase/nsk/monitoring
729 
730 # Tests for default method implementation
731 vmTestbase_vm_defmeth = \
732   vmTestbase/vm/runtime/defmeth
733 
734 # JDI tests
735 vmTestbase_nsk_jdi = \
736   vmTestbase/nsk/jdi
737 
738 # Stress tests for classes loading/unloading
739 # NSK tests for functionality of the HS system dictionary
740 vmTestbase_nsk_sysdict = \
741   vmTestbase/nsk/sysdict/vm/stress
742 
743 vmTestbase_vm_metaspace = \
744   vmTestbase/metaspace
745 
746 # JVMTI tests
747 vmTestbase_nsk_jvmti = \
748   vmTestbase/nsk/jvmti \
749   vmTestbase/nsk/share/ExceptionCheckingJniEnv
750 
751 # JDWP tests
752 vmTestbase_nsk_jdwp = \
753   vmTestbase/nsk/jdwp
754 
755 vmTestbase_nsk_stress = \
756   vmTestbase/nsk/stress
757 
758 vmTestbase_vm_g1classunloading = \
759   vmTestbase/gc/g1/unloading/tests
760 
761 # Garbage collector tests
762 vmTestbase_vm_gc = \
763   :vmTestbase_vm_gc_concurrent \
764   :vmTestbase_vm_gc_container \
765   :vmTestbase_vm_gc_compact \
766   :vmTestbase_vm_gc_juggle \
767   :vmTestbase_vm_gc_locker \
768   :vmTestbase_vm_gc_misc \
769   :vmTestbase_vm_gc_ref
770 
771 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
772 vmTestbase_vm_gc_compact = \
773   vmTestbase/vm/gc/compact
774 
775 # GC and mutlithreads
776 vmTestbase_vm_gc_concurrent = \
777   vmTestbase/vm/gc/concurrent
778 
779 # Various data structures
780 vmTestbase_vm_gc_container = \
781   vmTestbase/vm/gc/containers \
782   vmTestbase/gc/vector
783 
784 # Playing with object arrays and various strategies of garbage producing
785 vmTestbase_vm_gc_juggle = \
786   vmTestbase/gc/ArrayJuggle/
787 
788 # GC Locker
789 vmTestbase_vm_gc_locker = \
790   vmTestbase/gc/lock \
791   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
792   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
793   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
794   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
795 
796 # GC and references
797 vmTestbase_vm_gc_ref = \
798   vmTestbase/gc/gctests/SoftReference \
799   vmTestbase/gc/gctests/WeakReference \
800   vmTestbase/gc/gctests/WeakReferenceGC \
801   vmTestbase/gc/gctests/PhantomReference \
802   vmTestbase/gc/gctests/ReferencesGC
803 
804 # miscellaneous gc tests
805 vmTestbase_vm_gc_misc = \
806   vmTestbase/gc \
807   vmTestbase/vm/gc \
808   -:vmTestbase_vm_g1classunloading \
809   -:vmTestbase_vm_gc_compact \
810   -:vmTestbase_vm_gc_concurrent \
811   -:vmTestbase_vm_gc_container \
812   -:vmTestbase_vm_gc_juggle \
813   -:vmTestbase_vm_gc_locker \
814   -:vmTestbase_vm_gc_ref
815 
816 vmTestbase_largepages = \
817   vmTestbase/gc/gctests/LoadUnloadGC \
818   vmTestbase/gc/gctests/LoadUnloadGC2 \
819   vmTestbase/gc/memory/LargePagesTest \
820   vmTestbase/gc/memory/Nio \
821   vmTestbase/metaspace/staticReferences/StaticReferences.java \
822   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
823   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
824   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
825   vmTestbase/metaspace/flags/maxMetaspaceSize/TestMaxMetaspaceSize.java \
826   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
827   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
828   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
829 
830 # Just-In-Time compiler tests
831 vmTestbase_vm_compiler = \
832   vmTestbase/vm/compiler \
833   vmTestbase/jit \
834   vmTestbase/vm/jit
835 
836 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
837 vmTestbase_vm_mlvm = \
838   vmTestbase/vm/mlvm
839 
840 # Tests for attach-on-demand implementation
841 vmTestbase_nsk_aod = \
842   vmTestbase/nsk/aod
843 
844 # JDB tests
845 vmTestbase_nsk_jdb = \
846   vmTestbase/nsk/jdb
847 
848 # vmTestbase_*_quick groups are defined in TEST.quick-groups