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 
 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 
 185 tier1_gc_2 = \
 186   sanity/ExecuteInternalVMTests.java \
 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 
 196 tier1_gc_gcold = \
 197   gc/stress/gcold/TestGCOldWithG1.java \
 198   gc/stress/gcold/TestGCOldWithCMS.java \
 199   gc/stress/gcold/TestGCOldWithSerial.java \
 200   gc/stress/gcold/TestGCOldWithParallel.java
 201 
 202 tier1_gc_gcbasher = \
 203   gc/stress/gcbasher/TestGCBasherWithG1.java \
 204   gc/stress/gcbasher/TestGCBasherWithCMS.java \
 205   gc/stress/gcbasher/TestGCBasherWithSerial.java \
 206   gc/stress/gcbasher/TestGCBasherWithParallel.java
 207 
 208 tier1_runtime = \
 209   runtime/ \
 210  -runtime/6626217/bug_21227.java \
 211  -runtime/7100935 \
 212  -runtime/7158988/FieldMonitor.java \
 213  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 214  -runtime/CommandLine/PrintGCApplicationConcurrentTime.java \
 215  -runtime/ConstantPool/IntfMethod.java \
 216  -runtime/ErrorHandling/CreateCoredumpOnCrash.java \
 217  -runtime/ErrorHandling/ErrorHandler.java \
 218  -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \
 219  -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \
 220  -runtime/logging/MonitorMismatchTest.java \
 221  -runtime/memory/ReserveMemory.java \
 222  -runtime/memory/RunUnitTestsConcurrently.java \
 223  -runtime/Metaspace/FragmentMetaspace.java \
 224  -runtime/Metaspace/FragmentMetaspaceSimple.java \
 225  -runtime/MirrorFrame/Test8003720.java \
 226  -runtime/modules/LoadUnloadModuleStress.java \
 227  -runtime/modules/ModuleStress/ExportModuleStressTest.java \
 228  -runtime/modules/ModuleStress/ModuleStressGC.java \
 229  -runtime/NMT \
 230  -runtime/RedefineObject/TestRedefineObject.java \
 231  -runtime/RedefineTests/RedefineLeak.java \
 232  -runtime/RedefineTests/RedefinePreviousVersions.java \
 233  -runtime/RedefineTests/RedefineRunningMethods.java \
 234  -runtime/RedefineTests/RedefineRunningMethodsWithBacktrace.java \
 235  -runtime/ReservedStack \
 236  -runtime/SelectionResolution/AbstractMethodErrorTest.java \
 237  -runtime/SelectionResolution/IllegalAccessErrorTest.java \
 238  -runtime/SelectionResolution/InvokeInterfaceICCE.java \
 239  -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \
 240  -runtime/SelectionResolution/InvokeSpecialICCE.java \
 241  -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \
 242  -runtime/SelectionResolution/InvokeStaticICCE.java \
 243  -runtime/SelectionResolution/InvokeVirtualICCE.java \
 244  -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \
 245  -runtime/SharedArchiveFile/CdsSameObjectAlignment.java \
 246  -runtime/SharedArchiveFile/SharedBaseAddress.java \
 247  -runtime/Thread/CancellableThreadTest.java \
 248  -runtime/Thread/TestThreadDumpMonitorContention.java \
 249  -runtime/Unsafe/RangeCheck.java \
 250   sanity/ \
 251   testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java \
 252  -:tier1_runtime_appcds_exclude \
 253  -runtime/signal
 254 
 255 hotspot_cds = \
 256   runtime/SharedArchiveFile/ \
 257   runtime/CompressedOops/
 258 
 259 # AppCDS
 260 # If modifying AppCDS it is also recommended to run the open hotspot_cds group
 261 hotspot_appcds = \
 262   runtime/appcds/
 263 
 264 # A subset of AppCDS tests to be run in tier1
 265 tier1_runtime_appcds = \
 266   runtime/appcds/HelloTest.java \
 267   runtime/appcds/sharedStrings/SharedStringsBasic.java \
 268   runtime/appcds/ClassLoaderTest.java
 269 
 270 tier1_runtime_appcds_exclude = \
 271   runtime/appcds/ \
 272   -:tier1_runtime_appcds
 273 
 274 tier1_serviceability = \
 275   serviceability/dcmd/compiler \
 276   -serviceability/dcmd/compiler/CompilerQueueTest.java \
 277   serviceability/logging \
 278   serviceability/sa \
 279   -serviceability/sa/ClhsdbScanOops.java \
 280   -serviceability/sa/TestJmapCore.java \
 281   -serviceability/sa/TestJmapCoreMetaspace.java \
 282   -serviceability/sa/TestHeapDumpForLargeArray.java
 283 
 284 tier1 = \
 285   :tier1_common \
 286   :tier1_compiler \
 287   :tier1_gc \
 288   :tier1_runtime \
 289   :tier1_serviceability
 290 
 291 hotspot_tier2_runtime = \
 292   runtime/ \
 293   serviceability/ \
 294  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 295  -runtime/Thread/TestThreadDumpMonitorContention.java \
 296  -:tier1_runtime \
 297  -:tier1_serviceability \
 298  -:hotspot_tier2_runtime_platform_agnostic \
 299  -runtime/signal \
 300  -runtime/NMT/MallocStressTest.java
 301 
 302 hotspot_tier2_runtime_platform_agnostic = \
 303   runtime/SelectionResolution \
 304  -:tier1_runtime
 305 
 306 hotspot_tier3_runtime = \
 307   runtime/ \
 308   serviceability/ \
 309  -:tier1_runtime \
 310  -:tier1_serviceability \
 311  -:hotspot_tier2_runtime_platform_agnostic \
 312  -:hotspot_tier2_runtime
 313 
 314 hotspot_runtime_minimalvm = \
 315   runtime/MinimalVM \
 316   runtime/ErrorHandling \
 317   runtime/logging
 318 
 319 hotspot_nmt = \
 320   runtime/NMT
 321 
 322 hotspot_rest_runtime = \
 323   :hotspot_runtime \
 324   -:tier1_runtime \
 325   -:tier1_runtime_appcds_exclude \
 326   -:hotspot_nmt \
 327   -:hotspot_tier2_runtime_platform_agnostic
 328 
 329 # Stress tests against information provided by VM via JMX
 330 vmTestbase_nsk_monitoring = \
 331   vmTestbase/nsk/monitoring
 332 
 333 # Tests for default method implementation
 334 vmTestbase_vm_defmeth = \
 335   vmTestbase/vm/runtime/defmeth
 336 
 337 # JDI tests
 338 vmTestbase_nsk_jdi = \
 339   vmTestbase/nsk/jdi
 340 
 341 # Stress tests for classes loading/unloading
 342 # NSK tests for functionality of the HS system dictionary
 343 vmTestbase_nsk_sysdict = \
 344   vmTestbase/nsk/sysdict/vm/stress
 345 
 346 vmTestbase_vm_metaspace = \
 347   vmTestbase/metaspace
 348 
 349 # JVMTI tests
 350 vmTestbase_nsk_jvmti = \
 351   vmTestbase/nsk/jvmti
 352 
 353 # JDWP tests
 354 vmTestbase_nsk_jdwp = \
 355   vmTestbase/nsk/jdwp
 356 
 357 vmTestbase_nsk_stress = \
 358   vmTestbase/nsk/stress
 359 
 360 vmTestbase_vm_g1classunloading = \
 361   vmTestbase/gc/g1/unloading/tests
 362 
 363 # Garbage collector tests
 364 vmTestbase_vm_gc = \
 365   :vmTestbase_vm_gc_concurrent \
 366   :vmTestbase_vm_gc_container \
 367   :vmTestbase_vm_gc_compact \
 368   :vmTestbase_vm_gc_juggle \
 369   :vmTestbase_vm_gc_locker \
 370   :vmTestbase_vm_gc_misc \
 371   :vmTestbase_vm_gc_ref
 372 
 373 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
 374 vmTestbase_vm_gc_compact = \
 375   vmTestbase/vm/gc/compact
 376 
 377 # GC and mutlithreads
 378 vmTestbase_vm_gc_concurrent = \
 379   vmTestbase/vm/gc/concurrent
 380 
 381 # Various data structures
 382 vmTestbase_vm_gc_container = \
 383   vmTestbase/vm/gc/containers \
 384   vmTestbase/gc/vector
 385 
 386 # Playing with object arrays and various strategies of garbage producing
 387 vmTestbase_vm_gc_juggle = \
 388   vmTestbase/gc/ArrayJuggle/ \
 389   vmTestbase/gc/memory/Array/ArrayJuggle
 390 
 391 # GC Locker
 392 vmTestbase_vm_gc_locker = \
 393   vmTestbase/gc/lock \
 394   vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \
 395   vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \
 396   vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \
 397   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
 398   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
 399   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
 400   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
 401 
 402 # GC and references
 403 vmTestbase_vm_gc_ref = \
 404   vmTestbase/gc/gctests/SoftReference \
 405   vmTestbase/gc/gctests/WeakReference \
 406   vmTestbase/gc/gctests/WeakReferenceGC \
 407   vmTestbase/gc/gctests/PhantomReference \
 408   vmTestbase/gc/gctests/ReferencesGC
 409 
 410 # miscellaneous gc tests
 411 vmTestbase_vm_gc_misc = \
 412   vmTestbase/gc \
 413   vmTestbase/vm/gc \
 414   -:vmTestbase_vm_g1classunloading \
 415   -:vmTestbase_vm_gc_compact \
 416   -:vmTestbase_vm_gc_concurrent \
 417   -:vmTestbase_vm_gc_container \
 418   -:vmTestbase_vm_gc_juggle \
 419   -:vmTestbase_vm_gc_locker \
 420   -:vmTestbase_vm_gc_ref
 421 
 422 vmTestbase_largepages = \
 423   vmTestbase/gc/gctests/LoadUnloadGC \
 424   vmTestbase/gc/gctests/LoadUnloadGC2 \
 425   vmTestbase/gc/memory/LargePagesTest \
 426   vmTestbase/gc/memory/Nio \
 427   vmTestbase/metaspace/staticReferences/StaticReferences.java \
 428   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
 429   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
 430   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
 431   vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \
 432   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
 433   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
 434   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
 435 
 436 # Just-In-Time compiler tests
 437 vmTestbase_vm_compiler = \
 438   vmTestbase/vm/compiler \
 439   vmTestbase/jit \
 440   vmTestbase/vm/jit
 441 
 442 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
 443 vmTestbase_vm_mlvm = \
 444   vmTestbase/vm/mlvm
 445 
 446 # Tests for attach-on-demand implementation
 447 vmTestbase_nsk_aod = \
 448   vmTestbase/nsk/aod
 449 
 450 # JDB tests
 451 vmTestbase_nsk_jdb = \
 452   vmTestbase/nsk/jdb
 453 
 454 # vmTestbase_*_quick groups are defined in TEST.quick-groups