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