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