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