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