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