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