1 #
   2 # Copyright (c) 2013, 2018, 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/ConstantPool/IntfMethod.java \
 269  -runtime/ErrorHandling/CreateCoredumpOnCrash.java \
 270  -runtime/ErrorHandling/ErrorHandler.java \
 271  -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \
 272  -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \
 273  -runtime/logging/MonitorMismatchTest.java \
 274  -runtime/memory/ReserveMemory.java \
 275  -runtime/memory/RunUnitTestsConcurrently.java \
 276  -runtime/Metaspace/FragmentMetaspace.java \
 277  -runtime/Metaspace/FragmentMetaspaceSimple.java \
 278  -runtime/MirrorFrame/Test8003720.java \
 279  -runtime/modules/LoadUnloadModuleStress.java \
 280  -runtime/modules/ModuleStress/ExportModuleStressTest.java \
 281  -runtime/modules/ModuleStress/ModuleStressGC.java \
 282  -runtime/NMT \
 283  -runtime/RedefineObject/TestRedefineObject.java \
 284  -runtime/RedefineTests/RedefineLeak.java \
 285  -runtime/RedefineTests/RedefinePreviousVersions.java \
 286  -runtime/RedefineTests/RedefineRunningMethods.java \
 287  -runtime/RedefineTests/RedefineRunningMethodsWithBacktrace.java \
 288  -runtime/ReservedStack \
 289  -runtime/SelectionResolution/AbstractMethodErrorTest.java \
 290  -runtime/SelectionResolution/IllegalAccessErrorTest.java \
 291  -runtime/SelectionResolution/InvokeInterfaceICCE.java \
 292  -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \
 293  -runtime/SelectionResolution/InvokeSpecialICCE.java \
 294  -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \
 295  -runtime/SelectionResolution/InvokeStaticICCE.java \
 296  -runtime/SelectionResolution/InvokeVirtualICCE.java \
 297  -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \
 298  -runtime/SharedArchiveFile/CdsSameObjectAlignment.java \
 299  -runtime/SharedArchiveFile/SharedBaseAddress.java \
 300  -runtime/Thread/CancellableThreadTest.java \
 301  -runtime/Thread/TestThreadDumpMonitorContention.java \
 302  -runtime/Unsafe/RangeCheck.java \
 303  -runtime/containers/ \
 304   sanity/ \
 305   testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java \
 306  -:tier1_runtime_appcds_exclude \
 307  -runtime/signal
 308 
 309 hotspot_cds = \
 310   runtime/SharedArchiveFile/ \
 311   runtime/CompressedOops/
 312 
 313 # AppCDS
 314 # If modifying AppCDS it is also recommended to run the open hotspot_cds group
 315 hotspot_appcds = \
 316   runtime/appcds/
 317 
 318 # A subset of AppCDS tests to be run in tier1
 319 tier1_runtime_appcds = \
 320   runtime/appcds/HelloTest.java \
 321   runtime/appcds/sharedStrings/SharedStringsBasic.java \
 322   runtime/appcds/ClassLoaderTest.java
 323 
 324 tier1_runtime_appcds_exclude = \
 325   runtime/appcds/ \
 326   -:tier1_runtime_appcds
 327 
 328 tier1_serviceability = \
 329   serviceability/dcmd/compiler \
 330   -serviceability/dcmd/compiler/CompilerQueueTest.java \
 331   serviceability/logging \
 332   serviceability/sa \
 333   -serviceability/sa/ClhsdbScanOops.java \
 334   -serviceability/sa/TestJmapCore.java \
 335   -serviceability/sa/TestJmapCoreMetaspace.java \
 336   -serviceability/sa/TestHeapDumpForLargeArray.java
 337 
 338 tier1 = \
 339   :tier1_common \
 340   :tier1_compiler \
 341   :tier1_gc \
 342   :tier1_runtime \
 343   :tier1_serviceability
 344 
 345 hotspot_tier2_runtime = \
 346   runtime/ \
 347   serviceability/ \
 348  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 349  -runtime/Thread/TestThreadDumpMonitorContention.java \
 350  -runtime/containers/ \
 351  -:tier1_runtime \
 352  -:tier1_serviceability \
 353  -:hotspot_tier2_runtime_platform_agnostic \
 354  -runtime/signal \
 355  -runtime/NMT/MallocStressTest.java
 356 
 357 hotspot_tier2_runtime_platform_agnostic = \
 358   runtime/SelectionResolution \
 359  -:tier1_runtime
 360 
 361 hotspot_tier3_runtime = \
 362   runtime/ \
 363   serviceability/ \
 364  -runtime/containers/ \
 365  -:tier1_runtime \
 366  -:tier1_serviceability \
 367  -:hotspot_tier2_runtime_platform_agnostic \
 368  -:hotspot_tier2_runtime
 369 
 370 hotspot_runtime_minimalvm = \
 371   runtime/MinimalVM \
 372   runtime/ErrorHandling \
 373   runtime/logging
 374 
 375 hotspot_nmt = \
 376   runtime/NMT
 377 
 378 hotspot_rest_runtime = \
 379   :hotspot_runtime \
 380   -:tier1_runtime \
 381   -:tier1_runtime_appcds_exclude \
 382   -:hotspot_nmt \
 383   -:hotspot_tier2_runtime_platform_agnostic
 384 
 385 jcstress_part1 = \
 386   applications/jcstress/seqcst.java
 387 
 388 jcstress_part2 = \
 389   applications/jcstress/accessAtomic.java \
 390   applications/jcstress/acqrel.java \
 391   applications/jcstress/atomics.java \
 392   applications/jcstress/coherence.java \
 393   applications/jcstress/locks.java
 394 
 395 jcstress_part3 = \
 396   applications/jcstress \
 397   -:jcstress_part1 \
 398   -:jcstress_part2
 399 
 400 # Stress tests against information provided by VM via JMX
 401 vmTestbase_nsk_monitoring = \
 402   vmTestbase/nsk/monitoring
 403 
 404 # Tests for default method implementation
 405 vmTestbase_vm_defmeth = \
 406   vmTestbase/vm/runtime/defmeth
 407 
 408 # JDI tests
 409 vmTestbase_nsk_jdi = \
 410   vmTestbase/nsk/jdi
 411 
 412 # Stress tests for classes loading/unloading
 413 # NSK tests for functionality of the HS system dictionary
 414 vmTestbase_nsk_sysdict = \
 415   vmTestbase/nsk/sysdict/vm/stress
 416 
 417 vmTestbase_vm_metaspace = \
 418   vmTestbase/metaspace
 419 
 420 # JVMTI tests
 421 vmTestbase_nsk_jvmti = \
 422   vmTestbase/nsk/jvmti
 423 
 424 # JDWP tests
 425 vmTestbase_nsk_jdwp = \
 426   vmTestbase/nsk/jdwp
 427 
 428 vmTestbase_nsk_stress = \
 429   vmTestbase/nsk/stress
 430 
 431 vmTestbase_vm_g1classunloading = \
 432   vmTestbase/gc/g1/unloading/tests
 433 
 434 # Garbage collector tests
 435 vmTestbase_vm_gc = \
 436   :vmTestbase_vm_gc_concurrent \
 437   :vmTestbase_vm_gc_container \
 438   :vmTestbase_vm_gc_compact \
 439   :vmTestbase_vm_gc_juggle \
 440   :vmTestbase_vm_gc_locker \
 441   :vmTestbase_vm_gc_misc \
 442   :vmTestbase_vm_gc_ref
 443 
 444 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
 445 vmTestbase_vm_gc_compact = \
 446   vmTestbase/vm/gc/compact
 447 
 448 # GC and mutlithreads
 449 vmTestbase_vm_gc_concurrent = \
 450   vmTestbase/vm/gc/concurrent
 451 
 452 # Various data structures
 453 vmTestbase_vm_gc_container = \
 454   vmTestbase/vm/gc/containers \
 455   vmTestbase/gc/vector
 456 
 457 # Playing with object arrays and various strategies of garbage producing
 458 vmTestbase_vm_gc_juggle = \
 459   vmTestbase/gc/ArrayJuggle/ \
 460   vmTestbase/gc/memory/Array/ArrayJuggle
 461 
 462 # GC Locker
 463 vmTestbase_vm_gc_locker = \
 464   vmTestbase/gc/lock \
 465   vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \
 466   vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \
 467   vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \
 468   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
 469   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
 470   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
 471   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
 472 
 473 # GC and references
 474 vmTestbase_vm_gc_ref = \
 475   vmTestbase/gc/gctests/SoftReference \
 476   vmTestbase/gc/gctests/WeakReference \
 477   vmTestbase/gc/gctests/WeakReferenceGC \
 478   vmTestbase/gc/gctests/PhantomReference \
 479   vmTestbase/gc/gctests/ReferencesGC
 480 
 481 # miscellaneous gc tests
 482 vmTestbase_vm_gc_misc = \
 483   vmTestbase/gc \
 484   vmTestbase/vm/gc \
 485   -:vmTestbase_vm_g1classunloading \
 486   -:vmTestbase_vm_gc_compact \
 487   -:vmTestbase_vm_gc_concurrent \
 488   -:vmTestbase_vm_gc_container \
 489   -:vmTestbase_vm_gc_juggle \
 490   -:vmTestbase_vm_gc_locker \
 491   -:vmTestbase_vm_gc_ref
 492 
 493 vmTestbase_largepages = \
 494   vmTestbase/gc/gctests/LoadUnloadGC \
 495   vmTestbase/gc/gctests/LoadUnloadGC2 \
 496   vmTestbase/gc/memory/LargePagesTest \
 497   vmTestbase/gc/memory/Nio \
 498   vmTestbase/metaspace/staticReferences/StaticReferences.java \
 499   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
 500   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
 501   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
 502   vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \
 503   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
 504   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
 505   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
 506 
 507 # Just-In-Time compiler tests
 508 vmTestbase_vm_compiler = \
 509   vmTestbase/vm/compiler \
 510   vmTestbase/jit \
 511   vmTestbase/vm/jit
 512 
 513 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
 514 vmTestbase_vm_mlvm = \
 515   vmTestbase/vm/mlvm
 516 
 517 # Tests for attach-on-demand implementation
 518 vmTestbase_nsk_aod = \
 519   vmTestbase/nsk/aod
 520 
 521 # JDB tests
 522 vmTestbase_nsk_jdb = \
 523   vmTestbase/nsk/jdb
 524 
 525 # vmTestbase_*_quick groups are defined in TEST.quick-groups