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/javaldr/ArrayTest.java \
428  -runtime/cds/appcds/javaldr/ExceptionDuringDumpAtObjectsInitPhase.java \
429  -runtime/cds/appcds/javaldr/GCSharedStringsDuringDump.java \
430  -runtime/cds/appcds/javaldr/LockDuringDump.java \
431  -runtime/cds/appcds/jcmd/JCmdTestStaticDump.java \
432  -runtime/cds/appcds/jcmd/JCmdTestDynamicDump.java \
433  -runtime/cds/appcds/jcmd/JCmdTestFileSafety.java \
434  -runtime/cds/appcds/jvmti/redefineClasses/OldClassAndRedefineClass.java \
435  -runtime/cds/appcds/lambdaForm/DefaultClassListLFInvokers.java \
436  -runtime/cds/appcds/methodHandles \
437  -runtime/cds/appcds/aotClassLinking/BulkLoaderTest.java \
438  -runtime/cds/appcds/sharedStrings \
439  -runtime/cds/appcds/resolvedConstants \
440  -runtime/cds/appcds/ArchiveRelocationTest.java \
441  -runtime/cds/appcds/BadBSM.java \
442  -runtime/cds/appcds/CommandLineFlagCombo.java \
443  -runtime/cds/appcds/DumpClassList.java \
444  -runtime/cds/appcds/DumpClassListWithLF.java \
445  -runtime/cds/appcds/DumpRuntimeClassesTest.java \
446  -runtime/cds/appcds/DumpingWithNoCoops.java \
447  -runtime/cds/appcds/ExtraSymbols.java \
448  -runtime/cds/appcds/LambdaContainsOldInf.java \
449  -runtime/cds/appcds/LambdaEagerInit.java \
450  -runtime/cds/appcds/LambdaInvokeVirtual.java \
451  -runtime/cds/appcds/LambdaProxyClasslist.java \
452  -runtime/cds/appcds/LambdaVerificationFailedDuringDump.java \
453  -runtime/cds/appcds/LambdaWithJavaAgent.java \
454  -runtime/cds/appcds/LambdaWithUseImplMethodHandle.java \
455  -runtime/cds/appcds/LambdaWithOldClass.java \
456  -runtime/cds/appcds/LongClassListPath.java \
457  -runtime/cds/appcds/LotsOfClasses.java \
458  -runtime/cds/appcds/MismatchedPathTriggerMemoryRelease.java \
459  -runtime/cds/appcds/NonExistClasspath.java \
460  -runtime/cds/appcds/RelativePath.java \
461  -runtime/cds/appcds/SharedArchiveConsistency.java \
462  -runtime/cds/appcds/StaticArchiveWithLambda.java \
463  -runtime/cds/appcds/TestCombinedCompressedFlags.java \
464  -runtime/cds/appcds/TestEpsilonGCWithCDS.java \
465  -runtime/cds/appcds/TestParallelGCWithCDS.java \
466  -runtime/cds/appcds/TestSerialGCWithCDS.java \
467  -runtime/cds/appcds/TestZGCWithCDS.java \
468  -runtime/cds/appcds/UnusedCPDuringDump.java \
469  -runtime/cds/appcds/VerifierTest_1B.java
470 
471 hotspot_cds_relocation = \
472   gc/g1/TestSharedArchiveWithPreTouch.java \
473   runtime/cds \
474   runtime/modules/ModulesSymLink.java \
475   runtime/modules/PatchModule/PatchModuleCDS.java \
476   runtime/modules/PatchModule/PatchModuleClassList.java \
477   runtime/NMT \
478   serviceability/sa \
479  -serviceability/sa/TestJhsdbJstackPrintVMLocks.java \
480  -runtime/cds/DeterministicDump.java
481 
482 hotspot_cds_verify_shared_spaces = \
483   runtime/cds/appcds/ArchiveRelocationTest.java \
484   runtime/cds/appcds/BootClassPathMismatch.java \
485   runtime/cds/appcds/HelloTest.java \
486   runtime/cds/appcds/VerifierTest_0.java \
487   runtime/cds/appcds/dynamicArchive/BasicLambdaTest.java \
488   runtime/cds/appcds/dynamicArchive/DynamicArchiveRelocationTest.java \
489   runtime/cds/appcds/dynamicArchive/HelloDynamic.java \
490   runtime/cds/appcds/dynamicArchive/LinkClassTest.java \
491   runtime/cds/appcds/dynamicArchive/MismatchedBaseArchive.java \
492   runtime/cds/appcds/customLoader/HelloCustom.java \
493   runtime/cds/appcds/customLoader/LoaderSegregationTest.java \
494   runtime/cds/appcds/javaldr/ArrayTest.java \
495   runtime/cds/appcds/jigsaw/modulepath/ExportModule.java \
496   runtime/cds/appcds/jvmti/dumpingWithAgent/DumpingWithJavaAgent.java \
497   runtime/cds/appcds/sharedStrings/SharedStringsBasic.java
498 
499 # No need to run every test with EpsilonGC. A small subset will provide enough
500 # coverage. Also avoid some tests that may OOM.
501 hotspot_cds_epsilongc = \
502   runtime/cds/appcds/HelloTest.java \
503   runtime/cds/appcds/MultiProcessSharing.java \
504   runtime/cds/appcds/StaticArchiveWithLambda.java \
505   runtime/cds/appcds/cacheObject \
506   runtime/cds/appcds/customLoader/ParallelTestSingleFP.java \
507   runtime/cds/appcds/dynamicArchive/HelloDynamic.java \
508   runtime/cds/appcds/javaldr \
509   runtime/cds/appcds/jigsaw \
510   runtime/cds/appcds/loaderConstraints
511 
512 # Run CDS tests with -XX:+AOTClassLinking. This should include most CDS tests, except for
513 # those that rely on redefining classes that are already archived.
514 hotspot_aot_classlinking = \
515   runtime/cds \
516  -runtime/cds/appcds/aotClassLinking \
517  -runtime/cds/appcds/BadBSM.java \
518  -runtime/cds/appcds/cacheObject/ArchivedIntegerCacheTest.java \
519  -runtime/cds/appcds/cacheObject/ArchivedModuleCompareTest.java \
520  -runtime/cds/appcds/CDSandJFR.java \
521  -runtime/cds/appcds/customLoader/HelloCustom_JFR.java \
522  -runtime/cds/appcds/customLoader/ParallelTestMultiFP.java \
523  -runtime/cds/appcds/customLoader/ParallelTestSingleFP.java \
524  -runtime/cds/appcds/customLoader/SameNameInTwoLoadersTest.java \
525  -runtime/cds/appcds/DumpClassListWithLF.java \
526  -runtime/cds/appcds/dynamicArchive/ModulePath.java \
527  -runtime/cds/appcds/dynamicArchive/LambdaInBaseArchive.java \
528  -runtime/cds/appcds/dynamicArchive/LambdasInTwoArchives.java \
529  -runtime/cds/appcds/HelloExtTest.java \
530  -runtime/cds/appcds/javaldr/GCDuringDump.java \
531  -runtime/cds/appcds/javaldr/LockDuringDump.java \
532  -runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java \
533  -runtime/cds/appcds/jigsaw/JigsawOptionsCombo.java \
534  -runtime/cds/appcds/jigsaw/modulepath/AddOpens.java \
535  -runtime/cds/appcds/jigsaw/modulepath/AddModules.java \
536  -runtime/cds/appcds/jigsaw/modulepath/JvmtiAddPath.java \
537  -runtime/cds/appcds/jigsaw/modulepath/MainModuleOnly.java \
538  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP.java \
539  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndCP_JFR.java \
540  -runtime/cds/appcds/jigsaw/modulepath/ModulePathAndFMG.java \
541  -runtime/cds/appcds/jigsaw/modulepath/OptimizeModuleHandlingTest.java \
542  -runtime/cds/appcds/jigsaw/overridetests/OverrideTests.java \
543  -runtime/cds/appcds/jigsaw/RedefineClassesInModuleGraph.java \
544  -runtime/cds/appcds/JvmtiAddPath.java \
545  -runtime/cds/appcds/jvmti \
546  -runtime/cds/appcds/LambdaProxyClasslist.java \
547  -runtime/cds/appcds/loaderConstraints/LoaderConstraintsTest.java \
548  -runtime/cds/appcds/redefineClass \
549  -runtime/cds/appcds/resolvedConstants/AOTLinkedLambdas.java \
550  -runtime/cds/appcds/resolvedConstants/AOTLinkedVarHandles.java \
551  -runtime/cds/appcds/resolvedConstants/ResolvedConstants.java \
552  -runtime/cds/appcds/RewriteBytecodesTest.java \
553  -runtime/cds/appcds/SpecifySysLoaderProp.java \
554  -runtime/cds/appcds/StaticArchiveWithLambda.java \
555  -runtime/cds/appcds/TestEpsilonGCWithCDS.java \
556  -runtime/cds/appcds/TestParallelGCWithCDS.java \
557  -runtime/cds/appcds/TestSerialGCWithCDS.java \
558  -runtime/cds/appcds/TestZGCWithCDS.java \
559  -runtime/cds/appcds/TestWithProfiler.java \
560  -runtime/cds/serviceability/ReplaceCriticalClassesForSubgraphs.java \
561  -runtime/cds/serviceability/ReplaceCriticalClasses.java \
562  -runtime/cds/serviceability/transformRelatedClasses/TransformInterfaceAndImplementor.java \
563  -runtime/cds/serviceability/transformRelatedClasses/TransformSuperAndSubClasses.java \
564  -runtime/cds/serviceability/transformRelatedClasses/TransformSuperSubTwoPckgs.java
565 
566 # needs -nativepath:<output>/images/test/hotspot/jtreg/native/
567 hotspot_metaspace = \
568   gtest/MetaspaceGtests.java \
569   gc/metaspace \
570   gc/class_unloading \
571   runtime/Metaspace \
572   vmTestbase/metaspace \
573   runtime/SelectionResolution
574 
575 # A subset of AppCDS tests to be run in tier1
576 tier1_runtime_appcds = \
577   runtime/cds/appcds/HelloTest.java \
578   runtime/cds/appcds/sharedStrings/SharedStringsBasic.java \
579   runtime/cds/appcds/ClassLoaderTest.java
580 
581 tier1_runtime_appcds_exclude = \
582   runtime/cds/appcds/ \
583   -:tier1_runtime_appcds
584 
585 tier1_runtime_no_cds = \
586    :tier1_runtime \
587    -runtime/cds
588 
589 # This group should be executed with "jtreg -Dtest.cds.run.with.jfr=true ..."
590 # to test interaction between AppCDS and JFR. It also has the side effect of
591 # testing JVMTI ClassFileLoadHook.
592 #
593 # The excluded tests disallow the jdk.jfr module, which is required to
594 # run with JFR.
595 hotspot_appcds_with_jfr = \
596   runtime/cds/appcds/ \
597  -runtime/cds/appcds/cacheObject/ArchivedModuleCompareTest.java \
598  -runtime/cds/appcds/jigsaw/classpathtests/BootAppendTests.java \
599  -runtime/cds/appcds/jigsaw/classpathtests/ClassPathTests.java \
600  -runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java \
601  -runtime/cds/appcds/jigsaw/JigsawOptionsCombo.java \
602  -runtime/cds/appcds/jigsaw/modulepath/MainModuleOnly.java
603 
604 tier1_serviceability = \
605   serviceability/ \
606   -serviceability/dcmd/compiler/CompilerQueueTest.java \
607   -serviceability/jvmti/RedefineClasses/RedefineLeak.java \
608   -serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java \
609   -serviceability/jvmti/RedefineClasses/RedefinePreviousVersions.java \
610   -serviceability/jvmti/RedefineClasses/RedefineRunningMethods.java \
611   -serviceability/jvmti/RedefineClasses/RedefineRunningMethodsWithBacktrace.java \
612   -serviceability/jvmti/RedefineClasses/TestRedefineObject.java \
613   -serviceability/sa/ClhsdbScanOops.java \
614   -serviceability/sa/ClhsdbJstackXcompStress.java \
615   -serviceability/sa/TestJmapCore.java \
616   -serviceability/sa/TestJmapCoreMetaspace.java
617 
618 tier1 = \
619   :tier1_common \
620   :tier1_compiler \
621   :tier1_gc \
622   :tier1_runtime \
623   :tier1_serviceability
624 
625 tier2 = \
626   :hotspot_tier2_runtime \
627   :hotspot_tier2_runtime_platform_agnostic \
628   :hotspot_tier2_serviceability \
629   :tier2_compiler \
630   :tier2_ctw \
631   :tier2_gc_epsilon \
632   :tier2_gc_shenandoah
633 
634 tier3 = \
635   :hotspot_tier3_runtime \
636   :tier3_compiler \
637   :tier3_gc_gcold \
638   :tier3_gc_shenandoah
639 
640 # Everything that is not in other tiers, but not apps
641 tier4 = \
642   :hotspot_all_no_apps \
643  -:tier1 \
644  -:tier2 \
645  -:tier3
646 
647 hotspot_tier2_runtime = \
648   runtime/ \
649  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
650  -runtime/CompressedOops/UseCompressedOops.java \
651  -runtime/InvocationTests \
652  -runtime/Monitor/StressWrapper_TestRecursiveLocking_36M.java \
653  -runtime/Thread/TestThreadDumpMonitorContention.java \
654  -:tier1_runtime \
655  -:hotspot_tier2_runtime_platform_agnostic \
656  -runtime/signal \
657  -runtime/NMT/MallocStressTest.java
658 
659 hotspot_tier2_serviceability = \
660   serviceability/ \
661  -:tier1_serviceability
662 
663 hotspot_tier2_runtime_platform_agnostic = \
664   runtime/SelectionResolution \
665  -:tier1_runtime
666 
667 hotspot_tier3_runtime = \
668   runtime/ \
669  -:tier1_runtime \
670  -:hotspot_tier2_runtime_platform_agnostic \
671  -:hotspot_tier2_runtime
672 
673 hotspot_runtime_minimalvm = \
674   runtime/MinimalVM \
675   runtime/ErrorHandling \
676   runtime/logging
677 
678 hotspot_nmt = \
679   runtime/NMT \
680   gtest/NMTGtests.java
681 
682 hotspot_rest_runtime = \
683   :hotspot_runtime \
684   -:tier1_runtime \
685   -:tier1_runtime_appcds_exclude \
686   -:hotspot_nmt \
687   -:hotspot_tier2_runtime_platform_agnostic
688 
689 jcstress_part1 = \
690   applications/jcstress/seqcst.java
691 
692 jcstress_part2 = \
693   applications/jcstress/accessAtomic.java \
694   applications/jcstress/acqrel.java \
695   applications/jcstress/atomics.java \
696   applications/jcstress/coherence.java \
697   applications/jcstress/locks.java
698 
699 jcstress_part3 = \
700   applications/jcstress \
701   -:jcstress_part1 \
702   -:jcstress_part2
703 
704 # Stress tests against information provided by VM via JMX
705 vmTestbase_nsk_monitoring = \
706   vmTestbase/nsk/monitoring
707 
708 # Tests for default method implementation
709 vmTestbase_vm_defmeth = \
710   vmTestbase/vm/runtime/defmeth
711 
712 # JDI tests
713 vmTestbase_nsk_jdi = \
714   vmTestbase/nsk/jdi
715 
716 # Stress tests for classes loading/unloading
717 # NSK tests for functionality of the HS system dictionary
718 vmTestbase_nsk_sysdict = \
719   vmTestbase/nsk/sysdict/vm/stress
720 
721 vmTestbase_vm_metaspace = \
722   vmTestbase/metaspace
723 
724 # JVMTI tests
725 vmTestbase_nsk_jvmti = \
726   vmTestbase/nsk/jvmti \
727   vmTestbase/nsk/share/ExceptionCheckingJniEnv
728 
729 # JDWP tests
730 vmTestbase_nsk_jdwp = \
731   vmTestbase/nsk/jdwp
732 
733 vmTestbase_nsk_stress = \
734   vmTestbase/nsk/stress
735 
736 vmTestbase_vm_g1classunloading = \
737   vmTestbase/gc/g1/unloading/tests
738 
739 # Garbage collector tests
740 vmTestbase_vm_gc = \
741   :vmTestbase_vm_gc_concurrent \
742   :vmTestbase_vm_gc_container \
743   :vmTestbase_vm_gc_compact \
744   :vmTestbase_vm_gc_juggle \
745   :vmTestbase_vm_gc_locker \
746   :vmTestbase_vm_gc_misc \
747   :vmTestbase_vm_gc_ref
748 
749 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
750 vmTestbase_vm_gc_compact = \
751   vmTestbase/vm/gc/compact
752 
753 # GC and mutlithreads
754 vmTestbase_vm_gc_concurrent = \
755   vmTestbase/vm/gc/concurrent
756 
757 # Various data structures
758 vmTestbase_vm_gc_container = \
759   vmTestbase/vm/gc/containers \
760   vmTestbase/gc/vector
761 
762 # Playing with object arrays and various strategies of garbage producing
763 vmTestbase_vm_gc_juggle = \
764   vmTestbase/gc/ArrayJuggle/
765 
766 # GC Locker
767 vmTestbase_vm_gc_locker = \
768   vmTestbase/gc/lock \
769   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
770   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
771   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
772   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
773 
774 # GC and references
775 vmTestbase_vm_gc_ref = \
776   vmTestbase/gc/gctests/SoftReference \
777   vmTestbase/gc/gctests/WeakReference \
778   vmTestbase/gc/gctests/WeakReferenceGC \
779   vmTestbase/gc/gctests/PhantomReference \
780   vmTestbase/gc/gctests/ReferencesGC
781 
782 # miscellaneous gc tests
783 vmTestbase_vm_gc_misc = \
784   vmTestbase/gc \
785   vmTestbase/vm/gc \
786   -:vmTestbase_vm_g1classunloading \
787   -:vmTestbase_vm_gc_compact \
788   -:vmTestbase_vm_gc_concurrent \
789   -:vmTestbase_vm_gc_container \
790   -:vmTestbase_vm_gc_juggle \
791   -:vmTestbase_vm_gc_locker \
792   -:vmTestbase_vm_gc_ref
793 
794 vmTestbase_largepages = \
795   vmTestbase/gc/gctests/LoadUnloadGC \
796   vmTestbase/gc/gctests/LoadUnloadGC2 \
797   vmTestbase/gc/memory/LargePagesTest \
798   vmTestbase/gc/memory/Nio \
799   vmTestbase/metaspace/staticReferences/StaticReferences.java \
800   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
801   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
802   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
803   vmTestbase/metaspace/flags/maxMetaspaceSize/TestMaxMetaspaceSize.java \
804   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
805   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
806   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
807 
808 # Just-In-Time compiler tests
809 vmTestbase_vm_compiler = \
810   vmTestbase/vm/compiler \
811   vmTestbase/jit \
812   vmTestbase/vm/jit
813 
814 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
815 vmTestbase_vm_mlvm = \
816   vmTestbase/vm/mlvm
817 
818 # Tests for attach-on-demand implementation
819 vmTestbase_nsk_aod = \
820   vmTestbase/nsk/aod
821 
822 # JDB tests
823 vmTestbase_nsk_jdb = \
824   vmTestbase/nsk/jdb
825 
826 # vmTestbase_*_quick groups are defined in TEST.quick-groups