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