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