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   compiler/profiling
 144 
 145 tier1_compiler_not_cms = \
 146   compiler/aot \
 147   compiler/jvmci
 148 
 149 ctw_1 = \
 150   applications/ctw/modules/ \
 151   -:ctw_2 \
 152   -:ctw_3
 153 
 154 ctw_2 = \
 155   applications/ctw/modules/java_base.java \
 156   applications/ctw/modules/java_base_2.java \
 157   applications/ctw/modules/java_desktop.java \
 158   applications/ctw/modules/java_desktop_2.java
 159 
 160 ctw_3 = \
 161   applications/ctw/modules/java_xml.java \
 162   applications/ctw/modules/jdk_compiler.java \
 163   applications/ctw/modules/jdk_internal_vm_compiler.java \
 164   applications/ctw/modules/jdk_localedata.java \
 165   applications/ctw/modules/jdk_scripting_nashorn.java \
 166 
 167 tier1_gc = \
 168   :tier1_gc_1 \
 169   :tier1_gc_2 \
 170   :tier1_gc_gcold \
 171   :tier1_gc_gcbasher
 172 
 173 hotspot_not_fast_gc = \
 174   :hotspot_gc \
 175   -:tier1_gc
 176 
 177 tier1_gc_1 = \
 178   gc/epsilon/ \
 179   gc/g1/ \
 180   -gc/g1/ihop/TestIHOPErgo.java
 181 
 182 tier1_gc_2 = \
 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 jcstress_part1 = \
 329   applications/jcstress/seqcst.java
 330 
 331 jcstress_part2 = \
 332   applications/jcstress/accessAtomic.java \
 333   applications/jcstress/acqrel.java \
 334   applications/jcstress/atomics.java \
 335   applications/jcstress/coherence.java \
 336   applications/jcstress/locks.java
 337 
 338 jcstress_part3 = \
 339   applications/jcstress \
 340   -:jcstress_part1 \
 341   -:jcstress_part2
 342 
 343 # Stress tests against information provided by VM via JMX
 344 vmTestbase_nsk_monitoring = \
 345   vmTestbase/nsk/monitoring
 346 
 347 # Tests for default method implementation
 348 vmTestbase_vm_defmeth = \
 349   vmTestbase/vm/runtime/defmeth
 350 
 351 # JDI tests
 352 vmTestbase_nsk_jdi = \
 353   vmTestbase/nsk/jdi
 354 
 355 # Stress tests for classes loading/unloading
 356 # NSK tests for functionality of the HS system dictionary
 357 vmTestbase_nsk_sysdict = \
 358   vmTestbase/nsk/sysdict/vm/stress
 359 
 360 vmTestbase_vm_metaspace = \
 361   vmTestbase/metaspace
 362 
 363 # JVMTI tests
 364 vmTestbase_nsk_jvmti = \
 365   vmTestbase/nsk/jvmti \
 366   vmTestbase/nsk/share/ExceptionCheckingJniEnv
 367 
 368 # JDWP tests
 369 vmTestbase_nsk_jdwp = \
 370   vmTestbase/nsk/jdwp
 371 
 372 vmTestbase_nsk_stress = \
 373   vmTestbase/nsk/stress
 374 
 375 vmTestbase_vm_g1classunloading = \
 376   vmTestbase/gc/g1/unloading/tests
 377 
 378 # Garbage collector tests
 379 vmTestbase_vm_gc = \
 380   :vmTestbase_vm_gc_concurrent \
 381   :vmTestbase_vm_gc_container \
 382   :vmTestbase_vm_gc_compact \
 383   :vmTestbase_vm_gc_juggle \
 384   :vmTestbase_vm_gc_locker \
 385   :vmTestbase_vm_gc_misc \
 386   :vmTestbase_vm_gc_ref
 387 
 388 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
 389 vmTestbase_vm_gc_compact = \
 390   vmTestbase/vm/gc/compact
 391 
 392 # GC and mutlithreads
 393 vmTestbase_vm_gc_concurrent = \
 394   vmTestbase/vm/gc/concurrent
 395 
 396 # Various data structures
 397 vmTestbase_vm_gc_container = \
 398   vmTestbase/vm/gc/containers \
 399   vmTestbase/gc/vector
 400 
 401 # Playing with object arrays and various strategies of garbage producing
 402 vmTestbase_vm_gc_juggle = \
 403   vmTestbase/gc/ArrayJuggle/ \
 404   vmTestbase/gc/memory/Array/ArrayJuggle
 405 
 406 # GC Locker
 407 vmTestbase_vm_gc_locker = \
 408   vmTestbase/gc/lock \
 409   vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \
 410   vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \
 411   vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \
 412   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
 413   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
 414   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
 415   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
 416 
 417 # GC and references
 418 vmTestbase_vm_gc_ref = \
 419   vmTestbase/gc/gctests/SoftReference \
 420   vmTestbase/gc/gctests/WeakReference \
 421   vmTestbase/gc/gctests/WeakReferenceGC \
 422   vmTestbase/gc/gctests/PhantomReference \
 423   vmTestbase/gc/gctests/ReferencesGC
 424 
 425 # miscellaneous gc tests
 426 vmTestbase_vm_gc_misc = \
 427   vmTestbase/gc \
 428   vmTestbase/vm/gc \
 429   -:vmTestbase_vm_g1classunloading \
 430   -:vmTestbase_vm_gc_compact \
 431   -:vmTestbase_vm_gc_concurrent \
 432   -:vmTestbase_vm_gc_container \
 433   -:vmTestbase_vm_gc_juggle \
 434   -:vmTestbase_vm_gc_locker \
 435   -:vmTestbase_vm_gc_ref
 436 
 437 vmTestbase_largepages = \
 438   vmTestbase/gc/gctests/LoadUnloadGC \
 439   vmTestbase/gc/gctests/LoadUnloadGC2 \
 440   vmTestbase/gc/memory/LargePagesTest \
 441   vmTestbase/gc/memory/Nio \
 442   vmTestbase/metaspace/staticReferences/StaticReferences.java \
 443   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
 444   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
 445   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
 446   vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \
 447   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
 448   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
 449   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
 450 
 451 # Just-In-Time compiler tests
 452 vmTestbase_vm_compiler = \
 453   vmTestbase/vm/compiler \
 454   vmTestbase/jit \
 455   vmTestbase/vm/jit
 456 
 457 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
 458 vmTestbase_vm_mlvm = \
 459   vmTestbase/vm/mlvm
 460 
 461 # Tests for attach-on-demand implementation
 462 vmTestbase_nsk_aod = \
 463   vmTestbase/nsk/aod
 464 
 465 # JDB tests
 466 vmTestbase_nsk_jdb = \
 467   vmTestbase/nsk/jdb
 468 
 469 # vmTestbase_*_quick groups are defined in TEST.quick-groups