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