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 hotspot_runtime = \
  46   runtime
  47 
  48 hotspot_handshake = \
  49   runtime/handshake
  50 
  51 hotspot_serviceability = \
  52   serviceability
  53 
  54 hotspot_misc = \
  55   / \
  56  -applications \
  57  -vmTestbase \
  58  -:hotspot_compiler \
  59  -:hotspot_gc \
  60  -:hotspot_runtime \
  61  -:hotspot_serviceability
  62 
  63 hotspot_native_sanity = \
  64   native_sanity
  65 
  66 tier1_common = \
  67   sanity/BasicVMTest.java \
  68   gtest/GTestWrapper.java
  69 
  70 tier1_compiler = \
  71   :tier1_compiler_1 \
  72   :tier1_compiler_2 \
  73   :tier1_compiler_3 \
  74   :tier1_compiler_not_xcomp
  75 
  76 hotspot_not_fast_compiler = \
  77   :hotspot_compiler \
  78   -:tier1_compiler \
  79   -:hotspot_slow_compiler \
  80   -compiler/graalunit
  81 
  82 hotspot_slow_compiler = \
  83   compiler/codegen/aes \
  84   compiler/codecache/stress \
  85   compiler/gcbarriers/PreserveFPRegistersTest.java
  86 
  87 tier1_compiler_1 = \
  88   compiler/arraycopy/ \
  89   compiler/c1/ \
  90   compiler/c2/ \
  91   -compiler/c2/Test6850611.java \
  92   -compiler/c2/cr6890943/Test6890943.java \
  93   -compiler/c2/Test6905845.java \
  94   -compiler/c2/cr6340864 \
  95   -compiler/c2/cr6589834 \
  96   -compiler/c2/cr8004867 \
  97   -compiler/c2/stemmer \
  98   -compiler/c2/Test6792161.java \
  99   -compiler/c2/Test6603011.java \
 100   -compiler/c2/Test6912517.java \
 101 
 102 tier1_compiler_2 = \
 103   compiler/classUnloading/ \
 104   compiler/codecache/ \
 105   compiler/codegen/ \
 106   compiler/cpuflags/ \
 107   compiler/dependencies/ \
 108   compiler/eliminateAutobox/ \
 109   compiler/escapeAnalysis/ \
 110   compiler/exceptions/ \
 111   compiler/floatingpoint/ \
 112   compiler/gcbarriers/ \
 113   compiler/inlining/ \
 114   compiler/integerArithmetic/ \
 115   compiler/interpreter/ \
 116   compiler/jvmci/ \
 117   -:hotspot_slow_compiler
 118 
 119 tier1_compiler_3 = \
 120   compiler/intrinsics/ \
 121   compiler/jsr292/ \
 122   compiler/loopopts/ \
 123   compiler/macronodes/ \
 124   compiler/memoryinitialization/ \
 125   compiler/osr/ \
 126   compiler/regalloc/ \
 127   compiler/runtime/ \
 128   compiler/startup/ \
 129   compiler/types/ \
 130   compiler/uncommontrap/ \
 131   compiler/unsafe/ \
 132   compiler/vectorization/ \
 133   -compiler/intrinsics/bmi \
 134   -compiler/intrinsics/mathexact \
 135   -compiler/intrinsics/sha \
 136   -compiler/intrinsics/bigInteger/TestMultiplyToLen.java \
 137   -compiler/intrinsics/zip/TestAdler32.java \
 138   -compiler/loopopts/Test7052494.java \
 139   -compiler/runtime/Test6826736.java
 140 
 141 tier1_compiler_not_xcomp = \
 142   compiler/aot
 143 
 144 tier1_compiler_not_cms = \
 145   compiler/aot \
 146   compiler/jvmci
 147 
 148 ctw_1 = \
 149   applications/ctw/modules/ \
 150   -:ctw_2 \
 151   -:ctw_3
 152 
 153 ctw_2 = \
 154   applications/ctw/modules/java_base.java \
 155   applications/ctw/modules/java_base_2.java \
 156   applications/ctw/modules/java_desktop.java \
 157   applications/ctw/modules/java_desktop_2.java
 158 
 159 ctw_3 = \
 160   applications/ctw/modules/java_xml.java \
 161   applications/ctw/modules/jdk_compiler.java \
 162   applications/ctw/modules/jdk_internal_vm_compiler.java \
 163   applications/ctw/modules/jdk_localedata.java \
 164   applications/ctw/modules/jdk_scripting_nashorn.java \
 165 
 166 tier1_gc = \
 167   :tier1_gc_1 \
 168   :tier1_gc_2 \
 169   :tier1_gc_gcold \
 170   :tier1_gc_gcbasher
 171 
 172 hotspot_not_fast_gc = \
 173   :hotspot_gc \
 174   -:tier1_gc
 175 
 176 tier1_gc_1 = \
 177   gc/epsilon/ \
 178   gc/g1/ \
 179   -gc/g1/ihop/TestIHOPErgo.java
 180 
 181 tier1_gc_2 = \
 182   sanity/ExecuteInternalVMTests.java \
 183   gc/ \
 184   -gc/epsilon/ \
 185   -gc/g1/ \
 186   -gc/logging/TestUnifiedLoggingSwitchStress.java \
 187   -gc/stress \
 188   -gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java \
 189   -gc/cms/TestMBeanCMS.java \
 190   -gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java
 191 
 192 tier1_gc_gcold = \
 193   gc/stress/gcold/TestGCOldWithG1.java \
 194   gc/stress/gcold/TestGCOldWithCMS.java \
 195   gc/stress/gcold/TestGCOldWithSerial.java \
 196   gc/stress/gcold/TestGCOldWithParallel.java
 197 
 198 tier1_gc_gcbasher = \
 199   gc/stress/gcbasher/TestGCBasherWithG1.java \
 200   gc/stress/gcbasher/TestGCBasherWithCMS.java \
 201   gc/stress/gcbasher/TestGCBasherWithSerial.java \
 202   gc/stress/gcbasher/TestGCBasherWithParallel.java
 203 
 204 tier1_runtime = \
 205   runtime/ \
 206  -runtime/6626217/bug_21227.java \
 207  -runtime/7100935 \
 208  -runtime/7158988/FieldMonitor.java \
 209  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 210  -runtime/CommandLine/PrintGCApplicationConcurrentTime.java \
 211  -runtime/ConstantPool/IntfMethod.java \
 212  -runtime/ErrorHandling/CreateCoredumpOnCrash.java \
 213  -runtime/ErrorHandling/ErrorHandler.java \
 214  -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \
 215  -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \
 216  -runtime/logging/MonitorMismatchTest.java \
 217  -runtime/memory/ReserveMemory.java \
 218  -runtime/memory/RunUnitTestsConcurrently.java \
 219  -runtime/Metaspace/FragmentMetaspace.java \
 220  -runtime/Metaspace/FragmentMetaspaceSimple.java \
 221  -runtime/MirrorFrame/Test8003720.java \
 222  -runtime/modules/LoadUnloadModuleStress.java \
 223  -runtime/modules/ModuleStress/ExportModuleStressTest.java \
 224  -runtime/modules/ModuleStress/ModuleStressGC.java \
 225  -runtime/NMT \
 226  -runtime/RedefineObject/TestRedefineObject.java \
 227  -runtime/RedefineTests/RedefineLeak.java \
 228  -runtime/RedefineTests/RedefinePreviousVersions.java \
 229  -runtime/RedefineTests/RedefineRunningMethods.java \
 230  -runtime/RedefineTests/RedefineRunningMethodsWithBacktrace.java \
 231  -runtime/ReservedStack \
 232  -runtime/SelectionResolution/AbstractMethodErrorTest.java \
 233  -runtime/SelectionResolution/IllegalAccessErrorTest.java \
 234  -runtime/SelectionResolution/InvokeInterfaceICCE.java \
 235  -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \
 236  -runtime/SelectionResolution/InvokeSpecialICCE.java \
 237  -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \
 238  -runtime/SelectionResolution/InvokeStaticICCE.java \
 239  -runtime/SelectionResolution/InvokeVirtualICCE.java \
 240  -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \
 241  -runtime/SharedArchiveFile/CdsSameObjectAlignment.java \
 242  -runtime/SharedArchiveFile/SharedBaseAddress.java \
 243  -runtime/Thread/CancellableThreadTest.java \
 244  -runtime/Thread/TestThreadDumpMonitorContention.java \
 245  -runtime/Unsafe/RangeCheck.java \
 246  -runtime/containers/ \
 247   sanity/ \
 248   testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java \
 249  -:tier1_runtime_appcds_exclude \
 250  -runtime/signal
 251 
 252 hotspot_cds = \
 253   runtime/SharedArchiveFile/ \
 254   runtime/CompressedOops/
 255 
 256 # AppCDS
 257 # If modifying AppCDS it is also recommended to run the open hotspot_cds group
 258 hotspot_appcds = \
 259   runtime/appcds/
 260 
 261 # A subset of AppCDS tests to be run in tier1
 262 tier1_runtime_appcds = \
 263   runtime/appcds/HelloTest.java \
 264   runtime/appcds/sharedStrings/SharedStringsBasic.java \
 265   runtime/appcds/ClassLoaderTest.java
 266 
 267 tier1_runtime_appcds_exclude = \
 268   runtime/appcds/ \
 269   -:tier1_runtime_appcds
 270 
 271 tier1_serviceability = \
 272   serviceability/dcmd/compiler \
 273   -serviceability/dcmd/compiler/CompilerQueueTest.java \
 274   serviceability/logging \
 275   serviceability/sa \
 276   -serviceability/sa/ClhsdbScanOops.java \
 277   -serviceability/sa/TestJmapCore.java \
 278   -serviceability/sa/TestJmapCoreMetaspace.java \
 279   -serviceability/sa/TestHeapDumpForLargeArray.java
 280 
 281 tier1 = \
 282   :tier1_common \
 283   :tier1_compiler \
 284   :tier1_gc \
 285   :tier1_runtime \
 286   :tier1_serviceability
 287 
 288 hotspot_tier2_runtime = \
 289   runtime/ \
 290   serviceability/ \
 291  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 292  -runtime/Thread/TestThreadDumpMonitorContention.java \
 293  -runtime/containers/ \
 294  -:tier1_runtime \
 295  -:tier1_serviceability \
 296  -:hotspot_tier2_runtime_platform_agnostic \
 297  -runtime/signal \
 298  -runtime/NMT/MallocStressTest.java
 299 
 300 hotspot_tier2_runtime_platform_agnostic = \
 301   runtime/SelectionResolution \
 302  -:tier1_runtime
 303 
 304 hotspot_tier3_runtime = \
 305   runtime/ \
 306   serviceability/ \
 307  -runtime/containers/ \
 308  -:tier1_runtime \
 309  -:tier1_serviceability \
 310  -:hotspot_tier2_runtime_platform_agnostic \
 311  -:hotspot_tier2_runtime
 312 
 313 hotspot_runtime_minimalvm = \
 314   runtime/MinimalVM \
 315   runtime/ErrorHandling \
 316   runtime/logging
 317 
 318 hotspot_nmt = \
 319   runtime/NMT
 320 
 321 hotspot_rest_runtime = \
 322   :hotspot_runtime \
 323   -:tier1_runtime \
 324   -:tier1_runtime_appcds_exclude \
 325   -:hotspot_nmt \
 326   -:hotspot_tier2_runtime_platform_agnostic
 327 
 328 # Stress tests against information provided by VM via JMX
 329 vmTestbase_nsk_monitoring = \
 330   vmTestbase/nsk/monitoring
 331 
 332 # Tests for default method implementation
 333 vmTestbase_vm_defmeth = \
 334   vmTestbase/vm/runtime/defmeth
 335 
 336 # JDI tests
 337 vmTestbase_nsk_jdi = \
 338   vmTestbase/nsk/jdi
 339 
 340 # Stress tests for classes loading/unloading
 341 # NSK tests for functionality of the HS system dictionary
 342 vmTestbase_nsk_sysdict = \
 343   vmTestbase/nsk/sysdict/vm/stress
 344 
 345 vmTestbase_vm_metaspace = \
 346   vmTestbase/metaspace
 347 
 348 # JVMTI tests
 349 vmTestbase_nsk_jvmti = \
 350   vmTestbase/nsk/jvmti
 351 
 352 # JDWP tests
 353 vmTestbase_nsk_jdwp = \
 354   vmTestbase/nsk/jdwp
 355 
 356 vmTestbase_nsk_stress = \
 357   vmTestbase/nsk/stress
 358 
 359 vmTestbase_vm_g1classunloading = \
 360   vmTestbase/gc/g1/unloading/tests
 361 
 362 # Garbage collector tests
 363 vmTestbase_vm_gc = \
 364   :vmTestbase_vm_gc_concurrent \
 365   :vmTestbase_vm_gc_container \
 366   :vmTestbase_vm_gc_compact \
 367   :vmTestbase_vm_gc_juggle \
 368   :vmTestbase_vm_gc_locker \
 369   :vmTestbase_vm_gc_misc \
 370   :vmTestbase_vm_gc_ref
 371 
 372 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
 373 vmTestbase_vm_gc_compact = \
 374   vmTestbase/vm/gc/compact
 375 
 376 # GC and mutlithreads
 377 vmTestbase_vm_gc_concurrent = \
 378   vmTestbase/vm/gc/concurrent
 379 
 380 # Various data structures
 381 vmTestbase_vm_gc_container = \
 382   vmTestbase/vm/gc/containers \
 383   vmTestbase/gc/vector
 384 
 385 # Playing with object arrays and various strategies of garbage producing
 386 vmTestbase_vm_gc_juggle = \
 387   vmTestbase/gc/ArrayJuggle/ \
 388   vmTestbase/gc/memory/Array/ArrayJuggle
 389 
 390 # GC Locker
 391 vmTestbase_vm_gc_locker = \
 392   vmTestbase/gc/lock \
 393   vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \
 394   vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \
 395   vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \
 396   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
 397   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
 398   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
 399   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
 400 
 401 # GC and references
 402 vmTestbase_vm_gc_ref = \
 403   vmTestbase/gc/gctests/SoftReference \
 404   vmTestbase/gc/gctests/WeakReference \
 405   vmTestbase/gc/gctests/WeakReferenceGC \
 406   vmTestbase/gc/gctests/PhantomReference \
 407   vmTestbase/gc/gctests/ReferencesGC
 408 
 409 # miscellaneous gc tests
 410 vmTestbase_vm_gc_misc = \
 411   vmTestbase/gc \
 412   vmTestbase/vm/gc \
 413   -:vmTestbase_vm_g1classunloading \
 414   -:vmTestbase_vm_gc_compact \
 415   -:vmTestbase_vm_gc_concurrent \
 416   -:vmTestbase_vm_gc_container \
 417   -:vmTestbase_vm_gc_juggle \
 418   -:vmTestbase_vm_gc_locker \
 419   -:vmTestbase_vm_gc_ref
 420 
 421 vmTestbase_largepages = \
 422   vmTestbase/gc/gctests/LoadUnloadGC \
 423   vmTestbase/gc/gctests/LoadUnloadGC2 \
 424   vmTestbase/gc/memory/LargePagesTest \
 425   vmTestbase/gc/memory/Nio \
 426   vmTestbase/metaspace/staticReferences/StaticReferences.java \
 427   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
 428   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
 429   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
 430   vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \
 431   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
 432   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
 433   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
 434 
 435 # Just-In-Time compiler tests
 436 vmTestbase_vm_compiler = \
 437   vmTestbase/vm/compiler \
 438   vmTestbase/jit \
 439   vmTestbase/vm/jit
 440 
 441 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
 442 vmTestbase_vm_mlvm = \
 443   vmTestbase/vm/mlvm
 444 
 445 # Tests for attach-on-demand implementation
 446 vmTestbase_nsk_aod = \
 447   vmTestbase/nsk/aod
 448 
 449 # JDB tests
 450 vmTestbase_nsk_jdb = \
 451   vmTestbase/nsk/jdb
 452 
 453 # vmTestbase_*_quick groups are defined in TEST.quick-groups