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