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