1#
2# Copyright (c) 2013, 2019, 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
24hotspot_all = \
25  /
26
27hotspot_all_no_apps = \
28  / \
29  -applications
30
31hotspot_compiler = \
32  compiler
33
34hotspot_compiler_xcomp = \
35  :hotspot_compiler \
36  -:tier1_compiler_not_xcomp
37
38hotspot_compiler_all_gcs = \
39  :hotspot_compiler \
40  -:tier1_compiler_not_cms
41
42hotspot_gc = \
43  gc \
44  -gc/nvdimm
45
46# By design this group should include ALL tests under runtime sub-directory
47hotspot_runtime = \
48  runtime
49
50hotspot_handshake = \
51  runtime/handshake
52
53hotspot_serviceability = \
54  serviceability
55
56hotspot_resourcehogs = \
57  resourcehogs
58
59hotspot_misc = \
60  / \
61 -applications \
62 -vmTestbase \
63 -:hotspot_compiler \
64 -:hotspot_gc \
65 -:hotspot_runtime \
66 -:hotspot_serviceability \
67 -gc/nvdimm \
68 -:hotspot_containers
69
70hotspot_native_sanity = \
71  native_sanity
72
73hotspot_containers = \
74  containers
75
76tier1_common = \
77  sanity/BasicVMTest.java \
78  gtest/GTestWrapper.java
79
80tier1_compiler = \
81  :tier1_compiler_1 \
82  :tier1_compiler_2 \
83  :tier1_compiler_3 \
84  :tier1_compiler_not_xcomp
85
86hotspot_not_fast_compiler = \
87  :hotspot_compiler \
88  -:tier1_compiler \
89  -:hotspot_slow_compiler \
90  -compiler/graalunit
91
92hotspot_slow_compiler = \
93  compiler/codegen/aes \
94  compiler/codecache/stress \
95  compiler/gcbarriers/PreserveFPRegistersTest.java
96
97tier1_compiler_1 = \
98  compiler/arraycopy/ \
99  compiler/c1/ \
100  compiler/c2/ \
101  -compiler/c2/Test6850611.java \
102  -compiler/c2/cr6890943/Test6890943.java \
103  -compiler/c2/Test6905845.java \
104  -compiler/c2/cr6340864 \
105  -compiler/c2/cr6589834 \
106  -compiler/c2/cr8004867 \
107  -compiler/c2/stemmer \
108  -compiler/c2/Test6792161.java \
109  -compiler/c2/Test6603011.java \
110  -compiler/c2/Test6912517.java \
111
112tier1_compiler_2 = \
113  compiler/classUnloading/ \
114  compiler/codecache/ \
115  compiler/codegen/ \
116  compiler/cpuflags/ \
117  compiler/dependencies/ \
118  compiler/eliminateAutobox/ \
119  compiler/escapeAnalysis/ \
120  compiler/exceptions/ \
121  compiler/floatingpoint/ \
122  compiler/gcbarriers/ \
123  compiler/inlining/ \
124  compiler/integerArithmetic/ \
125  compiler/interpreter/ \
126  compiler/jvmci/ \
127  -:hotspot_slow_compiler
128
129tier1_compiler_3 = \
130  compiler/intrinsics/ \
131  compiler/jsr292/ \
132  compiler/loopopts/ \
133  compiler/macronodes/ \
134  compiler/memoryinitialization/ \
135  compiler/osr/ \
136  compiler/regalloc/ \
137  compiler/runtime/ \
138  compiler/startup/ \
139  compiler/types/ \
140  compiler/uncommontrap/ \
141  compiler/unsafe/ \
142  compiler/vectorization/ \
143  -compiler/intrinsics/bmi \
144  -compiler/intrinsics/mathexact \
145  -compiler/intrinsics/sha \
146  -compiler/intrinsics/bigInteger/TestMultiplyToLen.java \
147  -compiler/intrinsics/zip/TestAdler32.java \
148  -compiler/loopopts/Test7052494.java \
149  -compiler/runtime/Test6826736.java
150
151tier1_compiler_not_xcomp = \
152  compiler/aot \
153  compiler/profiling
154
155tier1_compiler_not_cms = \
156  compiler/aot \
157  compiler/jvmci
158
159ctw_1 = \
160  applications/ctw/modules/ \
161  -:ctw_2 \
162  -:ctw_3
163
164ctw_2 = \
165  applications/ctw/modules/java_base.java \
166  applications/ctw/modules/java_base_2.java \
167  applications/ctw/modules/java_desktop.java \
168  applications/ctw/modules/java_desktop_2.java
169
170ctw_3 = \
171  applications/ctw/modules/java_xml.java \
172  applications/ctw/modules/jdk_compiler.java \
173  applications/ctw/modules/jdk_internal_vm_compiler.java \
174  applications/ctw/modules/jdk_localedata.java \
175  applications/ctw/modules/jdk_localedata_2.java \
176  applications/ctw/modules/jdk_scripting_nashorn.java \
177
178tier1_gc = \
179  :tier1_gc_1 \
180  :tier1_gc_2 \
181  :tier1_gc_gcold \
182  :tier1_gc_gcbasher \
183  :tier1_gc_shenandoah
184
185hotspot_not_fast_gc = \
186  :hotspot_gc \
187  -:tier1_gc
188
189tier1_gc_1 = \
190  :gc_epsilon \
191  gc/g1/ \
192  -gc/g1/ihop/TestIHOPErgo.java
193
194tier1_gc_2 = \
195  gc/ \
196  -:gc_epsilon \
197  -gc/g1/ \
198  -gc/logging/TestUnifiedLoggingSwitchStress.java \
199  -gc/stress \
200  -gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java \
201  -gc/cms/TestMBeanCMS.java \
202  -gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java \
203  -gc/shenandoah \
204  -gc/nvdimm
205
206gc_epsilon = \
207  gc/epsilon/ \
208  gc/CriticalNativeArgs.java \
209  gc/stress/CriticalNativeStress.java
210
211tier1_gc_gcold = \
212  gc/stress/gcold/TestGCOldWithG1.java \
213  gc/stress/gcold/TestGCOldWithCMS.java \
214  gc/stress/gcold/TestGCOldWithSerial.java \
215  gc/stress/gcold/TestGCOldWithParallel.java
216
217tier1_gc_gcbasher = \
218  gc/stress/gcbasher/TestGCBasherWithG1.java \
219  gc/stress/gcbasher/TestGCBasherWithCMS.java \
220  gc/stress/gcbasher/TestGCBasherWithSerial.java \
221  gc/stress/gcbasher/TestGCBasherWithParallel.java
222
223tier1_gc_shenandoah = \
224  gc/shenandoah/options/ \
225  gc/shenandoah/compiler/ \
226  gc/shenandoah/mxbeans/ \
227  gc/shenandoah/TestSmallHeap.java \
228  gc/shenandoah/oom/ \
229  gc/CriticalNativeArgs.java
230
231tier2_gc_shenandoah = \
232  runtime/MemberName/MemberNameLeak.java \
233  runtime/CompressedOops/UseCompressedOops.java \
234  gc/TestHumongousReferenceObject.java \
235  gc/TestSystemGC.java \
236  gc/arguments/TestDisableDefaultGC.java \
237  gc/arguments/TestUseCompressedOopsErgo.java \
238  gc/arguments/TestAlignmentToUseLargePages.java \
239  gc/class_unloading/TestClassUnloadingDisabled.java \
240  gc/ergonomics/TestInitialGCThreadLogging.java \
241  gc/ergonomics/TestDynamicNumberOfGCThreads.java \
242  gc/logging/TestGCId.java \
243  gc/metaspace/TestMetaspacePerfCounters.java \
244  gc/metaspace/TestMetaspacePerfCounters.java \
245  gc/startup_warnings/TestShenandoah.java \
246  gc/TestFullGCALot.java \
247  gc/logging/TestUnifiedLoggingSwitchStress.java \
248  runtime/Metaspace/DefineClass.java \
249  gc/shenandoah/ \
250  serviceability/sa/TestHeapDumpForInvokeDynamic.java \
251  -gc/shenandoah/TestStringDedupStress.java \
252  -gc/stress/CriticalNativeStress.java \
253  -:tier1_gc_shenandoah
254
255tier3_gc_shenandoah = \
256  gc/stress/gcold/TestGCOldWithShenandoah.java \
257  gc/stress/gcbasher/TestGCBasherWithShenandoah.java \
258  gc/stress/gclocker/TestGCLockerWithShenandoah.java \
259  gc/stress/systemgc/TestSystemGCWithShenandoah.java \
260  gc/shenandoah/TestStringDedupStress.java \
261  gc/stress/CriticalNativeStress.java \
262  -:tier2_gc_shenandoah
263
264hotspot_gc_shenandoah = \
265  :tier1_gc_shenandoah \
266  :tier2_gc_shenandoah \
267  :tier3_gc_shenandoah
268
269tier1_runtime = \
270  runtime/ \
271 -runtime/6626217/bug_21227.java \
272 -runtime/7100935 \
273 -runtime/7158988/FieldMonitor.java \
274 -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
275 -runtime/CommandLine/PrintGCApplicationConcurrentTime.java \
276 -runtime/CompressedOops/UseCompressedOops.java \
277 -runtime/ConstantPool/IntfMethod.java \
278 -runtime/ErrorHandling/CreateCoredumpOnCrash.java \
279 -runtime/ErrorHandling/ErrorHandler.java \
280 -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \
281 -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \
282 -runtime/logging/MonitorMismatchTest.java \
283 -runtime/memory/ReserveMemory.java \
284 -runtime/memory/RunUnitTestsConcurrently.java \
285 -runtime/Metaspace/FragmentMetaspace.java \
286 -runtime/Metaspace/FragmentMetaspaceSimple.java \
287 -runtime/MirrorFrame/Test8003720.java \
288 -runtime/modules/LoadUnloadModuleStress.java \
289 -runtime/modules/ModuleStress/ExportModuleStressTest.java \
290 -runtime/modules/ModuleStress/ModuleStressGC.java \
291 -runtime/NMT \
292 -runtime/ReservedStack \
293 -runtime/SelectionResolution/AbstractMethodErrorTest.java \
294 -runtime/SelectionResolution/IllegalAccessErrorTest.java \
295 -runtime/SelectionResolution/InvokeInterfaceICCE.java \
296 -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \
297 -runtime/SelectionResolution/InvokeSpecialICCE.java \
298 -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \
299 -runtime/SelectionResolution/InvokeStaticICCE.java \
300 -runtime/SelectionResolution/InvokeVirtualICCE.java \
301 -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \
302 -runtime/SharedArchiveFile/CdsSameObjectAlignment.java \
303 -runtime/SharedArchiveFile/SharedBaseAddress.java \
304 -runtime/Thread/CancellableThreadTest.java \
305 -runtime/Thread/TestThreadDumpMonitorContention.java \
306 -runtime/Unsafe/RangeCheck.java \
307  sanity/ \
308  testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java \
309 -:tier1_runtime_appcds_exclude \
310 -runtime/signal
311
312hotspot_cds = \
313  runtime/SharedArchiveFile/ \
314  runtime/CompressedOops/
315
316# AppCDS
317# If modifying AppCDS it is also recommended to run the open hotspot_cds group
318hotspot_appcds = \
319  runtime/appcds/
320
321hotspot_appcds_dynamic = \
322  runtime/appcds/ \
323 -runtime/appcds/cacheObject \
324 -runtime/appcds/customLoader \
325 -runtime/appcds/dynamicArchive \
326 -runtime/appcds/javaldr/ArrayTest.java \
327 -runtime/appcds/javaldr/GCSharedStringsDuringDump.java \
328 -runtime/appcds/javaldr/HumongousDuringDump.java \
329 -runtime/appcds/sharedStrings \
330 -runtime/appcds/DumpClassList.java \
331 -runtime/appcds/ExtraSymbols.java \
332 -runtime/appcds/LongClassListPath.java \
333 -runtime/appcds/LotsOfClasses.java \
334 -runtime/appcds/SharedArchiveConsistency.java \
335 -runtime/appcds/UnusedCPDuringDump.java \
336 -runtime/appcds/VerifierTest_1B.java
337
338# A subset of AppCDS tests to be run in tier1
339tier1_runtime_appcds = \
340  runtime/appcds/HelloTest.java \
341  runtime/appcds/sharedStrings/SharedStringsBasic.java \
342  runtime/appcds/ClassLoaderTest.java
343
344tier1_runtime_appcds_exclude = \
345  runtime/appcds/ \
346  -:tier1_runtime_appcds
347
348# This group should be executed with "jtreg -Dtest.cds.run.with.jfr=true ..."
349# to test interaction between AppCDS and JFR. It also has the side effect of
350# testing JVMTI ClassFileLoadHook.
351#
352# The excluded tests disallow the jdk.jfr module, which is required to
353# run with JFR.
354hotspot_appcds_with_jfr = \
355  runtime/appcds/ \
356 -runtime/appcds/cacheObject/ArchivedModuleCompareTest.java \
357 -runtime/appcds/jigsaw/classpathtests/BootAppendTests.java \
358 -runtime/appcds/jigsaw/classpathtests/ClassPathTests.java \
359 -runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java \
360 -runtime/appcds/jigsaw/JigsawOptionsCombo.java \
361 -runtime/appcds/jigsaw/modulepath/MainModuleOnly.java
362
363tier1_serviceability = \
364  serviceability/dcmd/compiler \
365  -serviceability/dcmd/compiler/CompilerQueueTest.java \
366  serviceability/jvmti/RedefineClasses \
367  -serviceability/jvmti/RedefineClasses/RedefineLeak.java \
368  -serviceability/jvmti/RedefineClasses/RedefinePreviousVersions.java \
369  -serviceability/jvmti/RedefineClasses/RedefineRunningMethods.java \
370  -serviceability/jvmti/RedefineClasses/RedefineRunningMethodsWithBacktrace.java \
371  -serviceability/jvmti/RedefineClasses/TestRedefineObject.java \
372  serviceability/logging \
373  serviceability/sa \
374  -serviceability/sa/ClhsdbScanOops.java \
375  -serviceability/sa/TestJmapCore.java \
376  -serviceability/sa/TestJmapCoreMetaspace.java
377
378tier1 = \
379  :tier1_common \
380  :tier1_compiler \
381  :tier1_gc \
382  :tier1_runtime \
383  :tier1_serviceability
384
385hotspot_tier2_runtime = \
386  runtime/ \
387  serviceability/ \
388 -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
389 -runtime/CompressedOops/UseCompressedOops.java \
390 -runtime/Thread/TestThreadDumpMonitorContention.java \
391 -:tier1_runtime \
392 -:tier1_serviceability \
393 -:hotspot_tier2_runtime_platform_agnostic \
394 -runtime/signal \
395 -runtime/NMT/MallocStressTest.java
396
397hotspot_tier2_runtime_platform_agnostic = \
398  runtime/SelectionResolution \
399 -:tier1_runtime
400
401hotspot_tier3_runtime = \
402  runtime/ \
403  serviceability/ \
404 -:tier1_runtime \
405 -:tier1_serviceability \
406 -:hotspot_tier2_runtime_platform_agnostic \
407 -:hotspot_tier2_runtime
408
409hotspot_runtime_minimalvm = \
410  runtime/MinimalVM \
411  runtime/ErrorHandling \
412  runtime/logging
413
414hotspot_nmt = \
415  runtime/NMT
416
417hotspot_rest_runtime = \
418  :hotspot_runtime \
419  -:tier1_runtime \
420  -:tier1_runtime_appcds_exclude \
421  -:hotspot_nmt \
422  -:hotspot_tier2_runtime_platform_agnostic
423
424jcstress_part1 = \
425  applications/jcstress/seqcst.java
426
427jcstress_part2 = \
428  applications/jcstress/accessAtomic.java \
429  applications/jcstress/acqrel.java \
430  applications/jcstress/atomics.java \
431  applications/jcstress/coherence.java \
432  applications/jcstress/locks.java
433
434jcstress_part3 = \
435  applications/jcstress \
436  -:jcstress_part1 \
437  -:jcstress_part2
438
439# Stress tests against information provided by VM via JMX
440vmTestbase_nsk_monitoring = \
441  vmTestbase/nsk/monitoring
442
443# Tests for default method implementation
444vmTestbase_vm_defmeth = \
445  vmTestbase/vm/runtime/defmeth
446
447# JDI tests
448vmTestbase_nsk_jdi = \
449  vmTestbase/nsk/jdi
450
451# Stress tests for classes loading/unloading
452# NSK tests for functionality of the HS system dictionary
453vmTestbase_nsk_sysdict = \
454  vmTestbase/nsk/sysdict/vm/stress
455
456vmTestbase_vm_metaspace = \
457  vmTestbase/metaspace
458
459# JVMTI tests
460vmTestbase_nsk_jvmti = \
461  vmTestbase/nsk/jvmti \
462  vmTestbase/nsk/share/ExceptionCheckingJniEnv
463
464# JDWP tests
465vmTestbase_nsk_jdwp = \
466  vmTestbase/nsk/jdwp
467
468vmTestbase_nsk_stress = \
469  vmTestbase/nsk/stress
470
471vmTestbase_vm_g1classunloading = \
472  vmTestbase/gc/g1/unloading/tests
473
474# Garbage collector tests
475vmTestbase_vm_gc = \
476  :vmTestbase_vm_gc_concurrent \
477  :vmTestbase_vm_gc_container \
478  :vmTestbase_vm_gc_compact \
479  :vmTestbase_vm_gc_juggle \
480  :vmTestbase_vm_gc_locker \
481  :vmTestbase_vm_gc_misc \
482  :vmTestbase_vm_gc_ref
483
484# In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
485vmTestbase_vm_gc_compact = \
486  vmTestbase/vm/gc/compact
487
488# GC and mutlithreads
489vmTestbase_vm_gc_concurrent = \
490  vmTestbase/vm/gc/concurrent
491
492# Various data structures
493vmTestbase_vm_gc_container = \
494  vmTestbase/vm/gc/containers \
495  vmTestbase/gc/vector
496
497# Playing with object arrays and various strategies of garbage producing
498vmTestbase_vm_gc_juggle = \
499  vmTestbase/gc/ArrayJuggle/ \
500  vmTestbase/gc/memory/Array/ArrayJuggle
501
502# GC Locker
503vmTestbase_vm_gc_locker = \
504  vmTestbase/gc/lock \
505  vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \
506  vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \
507  vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \
508  vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
509  vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
510  vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
511  vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
512
513# GC and references
514vmTestbase_vm_gc_ref = \
515  vmTestbase/gc/gctests/SoftReference \
516  vmTestbase/gc/gctests/WeakReference \
517  vmTestbase/gc/gctests/WeakReferenceGC \
518  vmTestbase/gc/gctests/PhantomReference \
519  vmTestbase/gc/gctests/ReferencesGC
520
521# miscellaneous gc tests
522vmTestbase_vm_gc_misc = \
523  vmTestbase/gc \
524  vmTestbase/vm/gc \
525  -:vmTestbase_vm_g1classunloading \
526  -:vmTestbase_vm_gc_compact \
527  -:vmTestbase_vm_gc_concurrent \
528  -:vmTestbase_vm_gc_container \
529  -:vmTestbase_vm_gc_juggle \
530  -:vmTestbase_vm_gc_locker \
531  -:vmTestbase_vm_gc_ref
532
533vmTestbase_largepages = \
534  vmTestbase/gc/gctests/LoadUnloadGC \
535  vmTestbase/gc/gctests/LoadUnloadGC2 \
536  vmTestbase/gc/memory/LargePagesTest \
537  vmTestbase/gc/memory/Nio \
538  vmTestbase/metaspace/staticReferences/StaticReferences.java \
539  vmTestbase/metaspace/stressDictionary/StressDictionary.java \
540  vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
541  vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
542  vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \
543  vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
544  vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
545  vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
546
547# Just-In-Time compiler tests
548vmTestbase_vm_compiler = \
549  vmTestbase/vm/compiler \
550  vmTestbase/jit \
551  vmTestbase/vm/jit
552
553# JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
554vmTestbase_vm_mlvm = \
555  vmTestbase/vm/mlvm
556
557# Tests for attach-on-demand implementation
558vmTestbase_nsk_aod = \
559  vmTestbase/nsk/aod
560
561# JDB tests
562vmTestbase_nsk_jdb = \
563  vmTestbase/nsk/jdb
564
565# vmTestbase_*_quick groups are defined in TEST.quick-groups
566