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