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