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   :tier1_gc_shenandoah
 173 
 174 hotspot_not_fast_gc = \
 175   :hotspot_gc \
 176   -:tier1_gc
 177 
 178 tier1_gc_1 = \
 179   :gc_epsilon \
 180   gc/g1/ \
 181   -gc/g1/ihop/TestIHOPErgo.java
 182 
 183 tier1_gc_2 = \
 184   gc/ \
 185   -:gc_epsilon \
 186   -gc/g1/ \
 187   -gc/logging/TestUnifiedLoggingSwitchStress.java \
 188   -gc/stress \
 189   -gc/survivorAlignment/TestPromotionFromSurvivorToTenuredAfterMinorGC.java \
 190   -gc/cms/TestMBeanCMS.java \
 191   -gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java \
 192   -gc/shenandoah
 193 
 194 gc_epsilon = \
 195   gc/epsilon/ \
 196   gc/CriticalNativeArgs.java \
 197   gc/stress/CriticalNativeStress.java 
 198 
 199 tier1_gc_gcold = \
 200   gc/stress/gcold/TestGCOldWithG1.java \
 201   gc/stress/gcold/TestGCOldWithCMS.java \
 202   gc/stress/gcold/TestGCOldWithSerial.java \
 203   gc/stress/gcold/TestGCOldWithParallel.java
 204 
 205 tier1_gc_gcbasher = \
 206   gc/stress/gcbasher/TestGCBasherWithG1.java \
 207   gc/stress/gcbasher/TestGCBasherWithCMS.java \
 208   gc/stress/gcbasher/TestGCBasherWithSerial.java \
 209   gc/stress/gcbasher/TestGCBasherWithParallel.java
 210   
 211 tier1_gc_shenandoah = \
 212   gc/shenandoah/options/ \
 213   gc/shenandoah/compiler/ \
 214   gc/shenandoah/mxbeans/ \
 215   gc/shenandoah/TestSmallHeap.java \
 216   gc/shenandoah/oom/ \
 217   gc/CriticalNativeArgs.java
 218 
 219 tier2_gc_shenandoah = \
 220   runtime/MemberName/MemberNameLeak.java \
 221   runtime/CompressedOops/UseCompressedOops.java \
 222   gc/TestHumongousReferenceObject.java \
 223   gc/TestSystemGC.java \
 224   gc/arguments/TestDisableDefaultGC.java \
 225   gc/arguments/TestUseCompressedOopsErgo.java \
 226   gc/arguments/TestAlignmentToUseLargePages.java \
 227   gc/class_unloading/TestClassUnloadingDisabled.java \
 228   gc/ergonomics/TestInitialGCThreadLogging.java \
 229   gc/ergonomics/TestDynamicNumberOfGCThreads.java \
 230   gc/logging/TestGCId.java \
 231   gc/metaspace/TestMetaspacePerfCounters.java \
 232   gc/metaspace/TestMetaspacePerfCounters.java \
 233   gc/startup_warnings/TestShenandoah.java \
 234   gc/TestFullGCALot.java \
 235   gc/logging/TestUnifiedLoggingSwitchStress.java \
 236   runtime/Metaspace/DefineClass.java \
 237   gc/shenandoah/ \
 238   serviceability/sa/TestHeapDumpForInvokeDynamic.java \
 239   -gc/shenandoah/TestStringDedupStress.java \
 240   -gc/stress/CriticalNativeStress.java \
 241   -:tier1_gc_shenandoah
 242 
 243 tier3_gc_shenandoah = \
 244   gc/stress/gcold/TestGCOldWithShenandoah.java \
 245   gc/stress/gcbasher/TestGCBasherWithShenandoah.java \
 246   gc/stress/gclocker/TestGCLockerWithShenandoah.java \
 247   gc/stress/systemgc/TestSystemGCWithShenandoah.java \
 248   gc/shenandoah/TestStringDedupStress.java \
 249   gc/stress/CriticalNativeStress.java \
 250   -:tier2_gc_shenandoah
 251 
 252 hotspot_gc_shenandoah = \
 253   :tier1_gc_shenandoah \
 254   :tier2_gc_shenandoah \
 255   :tier3_gc_shenandoah
 256 
 257 tier1_runtime = \
 258   runtime/ \
 259  -runtime/6626217/bug_21227.java \
 260  -runtime/7100935 \
 261  -runtime/7158988/FieldMonitor.java \
 262  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 263  -runtime/CommandLine/PrintGCApplicationConcurrentTime.java \
 264  -runtime/ConstantPool/IntfMethod.java \
 265  -runtime/ErrorHandling/CreateCoredumpOnCrash.java \
 266  -runtime/ErrorHandling/ErrorHandler.java \
 267  -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \
 268  -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \
 269  -runtime/logging/MonitorMismatchTest.java \
 270  -runtime/memory/ReserveMemory.java \
 271  -runtime/memory/RunUnitTestsConcurrently.java \
 272  -runtime/Metaspace/FragmentMetaspace.java \
 273  -runtime/Metaspace/FragmentMetaspaceSimple.java \
 274  -runtime/MirrorFrame/Test8003720.java \
 275  -runtime/modules/LoadUnloadModuleStress.java \
 276  -runtime/modules/ModuleStress/ExportModuleStressTest.java \
 277  -runtime/modules/ModuleStress/ModuleStressGC.java \
 278  -runtime/NMT \
 279  -runtime/RedefineObject/TestRedefineObject.java \
 280  -runtime/RedefineTests/RedefineLeak.java \
 281  -runtime/RedefineTests/RedefinePreviousVersions.java \
 282  -runtime/RedefineTests/RedefineRunningMethods.java \
 283  -runtime/RedefineTests/RedefineRunningMethodsWithBacktrace.java \
 284  -runtime/ReservedStack \
 285  -runtime/SelectionResolution/AbstractMethodErrorTest.java \
 286  -runtime/SelectionResolution/IllegalAccessErrorTest.java \
 287  -runtime/SelectionResolution/InvokeInterfaceICCE.java \
 288  -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \
 289  -runtime/SelectionResolution/InvokeSpecialICCE.java \
 290  -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \
 291  -runtime/SelectionResolution/InvokeStaticICCE.java \
 292  -runtime/SelectionResolution/InvokeVirtualICCE.java \
 293  -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \
 294  -runtime/SharedArchiveFile/CdsSameObjectAlignment.java \
 295  -runtime/SharedArchiveFile/SharedBaseAddress.java \
 296  -runtime/Thread/CancellableThreadTest.java \
 297  -runtime/Thread/TestThreadDumpMonitorContention.java \
 298  -runtime/Unsafe/RangeCheck.java \
 299  -runtime/containers/ \
 300   sanity/ \
 301   testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java \
 302  -:tier1_runtime_appcds_exclude \
 303  -runtime/signal
 304 
 305 hotspot_cds = \
 306   runtime/SharedArchiveFile/ \
 307   runtime/CompressedOops/
 308 
 309 # AppCDS
 310 # If modifying AppCDS it is also recommended to run the open hotspot_cds group
 311 hotspot_appcds = \
 312   runtime/appcds/
 313 
 314 # A subset of AppCDS tests to be run in tier1
 315 tier1_runtime_appcds = \
 316   runtime/appcds/HelloTest.java \
 317   runtime/appcds/sharedStrings/SharedStringsBasic.java \
 318   runtime/appcds/ClassLoaderTest.java
 319 
 320 tier1_runtime_appcds_exclude = \
 321   runtime/appcds/ \
 322   -:tier1_runtime_appcds
 323 
 324 tier1_serviceability = \
 325   serviceability/dcmd/compiler \
 326   -serviceability/dcmd/compiler/CompilerQueueTest.java \
 327   serviceability/logging \
 328   serviceability/sa \
 329   -serviceability/sa/ClhsdbScanOops.java \
 330   -serviceability/sa/TestJmapCore.java \
 331   -serviceability/sa/TestJmapCoreMetaspace.java \
 332   -serviceability/sa/TestHeapDumpForLargeArray.java
 333 
 334 tier1 = \
 335   :tier1_common \
 336   :tier1_compiler \
 337   :tier1_gc \
 338   :tier1_runtime \
 339   :tier1_serviceability
 340 
 341 hotspot_tier2_runtime = \
 342   runtime/ \
 343   serviceability/ \
 344  -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \
 345  -runtime/Thread/TestThreadDumpMonitorContention.java \
 346  -runtime/containers/ \
 347  -:tier1_runtime \
 348  -:tier1_serviceability \
 349  -:hotspot_tier2_runtime_platform_agnostic \
 350  -runtime/signal \
 351  -runtime/NMT/MallocStressTest.java
 352 
 353 hotspot_tier2_runtime_platform_agnostic = \
 354   runtime/SelectionResolution \
 355  -:tier1_runtime
 356 
 357 hotspot_tier3_runtime = \
 358   runtime/ \
 359   serviceability/ \
 360  -runtime/containers/ \
 361  -:tier1_runtime \
 362  -:tier1_serviceability \
 363  -:hotspot_tier2_runtime_platform_agnostic \
 364  -:hotspot_tier2_runtime
 365 
 366 hotspot_runtime_minimalvm = \
 367   runtime/MinimalVM \
 368   runtime/ErrorHandling \
 369   runtime/logging
 370 
 371 hotspot_nmt = \
 372   runtime/NMT
 373 
 374 hotspot_rest_runtime = \
 375   :hotspot_runtime \
 376   -:tier1_runtime \
 377   -:tier1_runtime_appcds_exclude \
 378   -:hotspot_nmt \
 379   -:hotspot_tier2_runtime_platform_agnostic
 380 
 381 jcstress_part1 = \
 382   applications/jcstress/seqcst.java
 383 
 384 jcstress_part2 = \
 385   applications/jcstress/accessAtomic.java \
 386   applications/jcstress/acqrel.java \
 387   applications/jcstress/atomics.java \
 388   applications/jcstress/coherence.java \
 389   applications/jcstress/locks.java
 390 
 391 jcstress_part3 = \
 392   applications/jcstress \
 393   -:jcstress_part1 \
 394   -:jcstress_part2
 395 
 396 # Stress tests against information provided by VM via JMX
 397 vmTestbase_nsk_monitoring = \
 398   vmTestbase/nsk/monitoring
 399 
 400 # Tests for default method implementation
 401 vmTestbase_vm_defmeth = \
 402   vmTestbase/vm/runtime/defmeth
 403 
 404 # JDI tests
 405 vmTestbase_nsk_jdi = \
 406   vmTestbase/nsk/jdi
 407 
 408 # Stress tests for classes loading/unloading
 409 # NSK tests for functionality of the HS system dictionary
 410 vmTestbase_nsk_sysdict = \
 411   vmTestbase/nsk/sysdict/vm/stress
 412 
 413 vmTestbase_vm_metaspace = \
 414   vmTestbase/metaspace
 415 
 416 # JVMTI tests
 417 vmTestbase_nsk_jvmti = \
 418   vmTestbase/nsk/jvmti
 419 
 420 # JDWP tests
 421 vmTestbase_nsk_jdwp = \
 422   vmTestbase/nsk/jdwp
 423 
 424 vmTestbase_nsk_stress = \
 425   vmTestbase/nsk/stress
 426 
 427 vmTestbase_vm_g1classunloading = \
 428   vmTestbase/gc/g1/unloading/tests
 429 
 430 # Garbage collector tests
 431 vmTestbase_vm_gc = \
 432   :vmTestbase_vm_gc_concurrent \
 433   :vmTestbase_vm_gc_container \
 434   :vmTestbase_vm_gc_compact \
 435   :vmTestbase_vm_gc_juggle \
 436   :vmTestbase_vm_gc_locker \
 437   :vmTestbase_vm_gc_misc \
 438   :vmTestbase_vm_gc_ref
 439 
 440 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size
 441 vmTestbase_vm_gc_compact = \
 442   vmTestbase/vm/gc/compact
 443 
 444 # GC and mutlithreads
 445 vmTestbase_vm_gc_concurrent = \
 446   vmTestbase/vm/gc/concurrent
 447 
 448 # Various data structures
 449 vmTestbase_vm_gc_container = \
 450   vmTestbase/vm/gc/containers \
 451   vmTestbase/gc/vector
 452 
 453 # Playing with object arrays and various strategies of garbage producing
 454 vmTestbase_vm_gc_juggle = \
 455   vmTestbase/gc/ArrayJuggle/ \
 456   vmTestbase/gc/memory/Array/ArrayJuggle
 457 
 458 # GC Locker
 459 vmTestbase_vm_gc_locker = \
 460   vmTestbase/gc/lock \
 461   vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \
 462   vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \
 463   vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \
 464   vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \
 465   vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \
 466   vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \
 467   vmTestbase/gc/gctests/nativeGC05/nativeGC05.java
 468 
 469 # GC and references
 470 vmTestbase_vm_gc_ref = \
 471   vmTestbase/gc/gctests/SoftReference \
 472   vmTestbase/gc/gctests/WeakReference \
 473   vmTestbase/gc/gctests/WeakReferenceGC \
 474   vmTestbase/gc/gctests/PhantomReference \
 475   vmTestbase/gc/gctests/ReferencesGC
 476 
 477 # miscellaneous gc tests
 478 vmTestbase_vm_gc_misc = \
 479   vmTestbase/gc \
 480   vmTestbase/vm/gc \
 481   -:vmTestbase_vm_g1classunloading \
 482   -:vmTestbase_vm_gc_compact \
 483   -:vmTestbase_vm_gc_concurrent \
 484   -:vmTestbase_vm_gc_container \
 485   -:vmTestbase_vm_gc_juggle \
 486   -:vmTestbase_vm_gc_locker \
 487   -:vmTestbase_vm_gc_ref
 488 
 489 vmTestbase_largepages = \
 490   vmTestbase/gc/gctests/LoadUnloadGC \
 491   vmTestbase/gc/gctests/LoadUnloadGC2 \
 492   vmTestbase/gc/memory/LargePagesTest \
 493   vmTestbase/gc/memory/Nio \
 494   vmTestbase/metaspace/staticReferences/StaticReferences.java \
 495   vmTestbase/metaspace/stressDictionary/StressDictionary.java \
 496   vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \
 497   vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \
 498   vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \
 499   vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \
 500   vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \
 501   vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java
 502 
 503 # Just-In-Time compiler tests
 504 vmTestbase_vm_compiler = \
 505   vmTestbase/vm/compiler \
 506   vmTestbase/jit \
 507   vmTestbase/vm/jit
 508 
 509 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine)
 510 vmTestbase_vm_mlvm = \
 511   vmTestbase/vm/mlvm
 512 
 513 # Tests for attach-on-demand implementation
 514 vmTestbase_nsk_aod = \
 515   vmTestbase/nsk/aod
 516 
 517 # JDB tests
 518 vmTestbase_nsk_jdb = \
 519   vmTestbase/nsk/jdb
 520 
 521 # vmTestbase_*_quick groups are defined in TEST.quick-groups