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