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