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