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