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