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 # By design this group should include ALL tests under runtime sub-directory 47 hotspot_runtime = \ 48 runtime 49 50 hotspot_handshake = \ 51 runtime/handshake 52 53 hotspot_serviceability = \ 54 serviceability 55 56 hotspot_resourcehogs = \ 57 resourcehogs 58 59 hotspot_misc = \ 60 / \ 61 -applications \ 62 -vmTestbase \ 63 -:hotspot_compiler \ 64 -:hotspot_gc \ 65 -:hotspot_runtime \ 66 -:hotspot_serviceability \ 67 -gc/nvdimm \ 68 -:hotspot_containers 69 70 hotspot_native_sanity = \ 71 native_sanity 72 73 hotspot_containers = \ 74 containers 75 76 tier1_common = \ 77 sanity/BasicVMTest.java \ 78 gtest/GTestWrapper.java 79 80 tier1_compiler = \ 81 :tier1_compiler_1 \ 82 :tier1_compiler_2 \ 83 :tier1_compiler_3 \ 84 :tier1_compiler_not_xcomp 85 86 hotspot_not_fast_compiler = \ 87 :hotspot_compiler \ 88 -:tier1_compiler \ 89 -:hotspot_slow_compiler \ 90 -compiler/graalunit 91 92 hotspot_slow_compiler = \ 93 compiler/codegen/aes \ 94 compiler/codecache/stress \ 95 compiler/gcbarriers/PreserveFPRegistersTest.java 96 97 tier1_compiler_1 = \ 98 compiler/arraycopy/ \ 99 compiler/c1/ \ 100 compiler/c2/ \ 101 -compiler/c2/Test6850611.java \ 102 -compiler/c2/cr6890943/Test6890943.java \ 103 -compiler/c2/Test6905845.java \ 104 -compiler/c2/cr6340864 \ 105 -compiler/c2/cr6589834 \ 106 -compiler/c2/cr8004867 \ 107 -compiler/c2/stemmer \ 108 -compiler/c2/Test6792161.java \ 109 -compiler/c2/Test6603011.java \ 110 -compiler/c2/Test6912517.java \ 111 112 tier1_compiler_2 = \ 113 compiler/classUnloading/ \ 114 compiler/codecache/ \ 115 compiler/codegen/ \ 116 compiler/cpuflags/ \ 117 compiler/dependencies/ \ 118 compiler/eliminateAutobox/ \ 119 compiler/escapeAnalysis/ \ 120 compiler/exceptions/ \ 121 compiler/floatingpoint/ \ 122 compiler/gcbarriers/ \ 123 compiler/inlining/ \ 124 compiler/integerArithmetic/ \ 125 compiler/interpreter/ \ 126 compiler/jvmci/ \ 127 -:hotspot_slow_compiler 128 129 tier1_compiler_3 = \ 130 compiler/intrinsics/ \ 131 compiler/jsr292/ \ 132 compiler/loopopts/ \ 133 compiler/macronodes/ \ 134 compiler/memoryinitialization/ \ 135 compiler/osr/ \ 136 compiler/regalloc/ \ 137 compiler/runtime/ \ 138 compiler/startup/ \ 139 compiler/types/ \ 140 compiler/uncommontrap/ \ 141 compiler/unsafe/ \ 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/CompressedOops/UseCompressedOops.java \ 277 -runtime/ConstantPool/IntfMethod.java \ 278 -runtime/ErrorHandling/CreateCoredumpOnCrash.java \ 279 -runtime/ErrorHandling/ErrorHandler.java \ 280 -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryError.java \ 281 -runtime/ErrorHandling/TestHeapDumpOnOutOfMemoryErrorInMetaspace.java \ 282 -runtime/ErrorHandling/TimeoutInErrorHandlingTest.java \ 283 -runtime/InvocationTests \ 284 -runtime/logging/MonitorMismatchTest.java \ 285 -runtime/memory/ReserveMemory.java \ 286 -runtime/memory/RunUnitTestsConcurrently.java \ 287 -runtime/Metaspace/FragmentMetaspace.java \ 288 -runtime/Metaspace/FragmentMetaspaceSimple.java \ 289 -runtime/MirrorFrame/Test8003720.java \ 290 -runtime/modules/LoadUnloadModuleStress.java \ 291 -runtime/modules/ModuleStress/ExportModuleStressTest.java \ 292 -runtime/modules/ModuleStress/ModuleStressGC.java \ 293 -runtime/NMT \ 294 -runtime/ReservedStack \ 295 -runtime/SelectionResolution/AbstractMethodErrorTest.java \ 296 -runtime/SelectionResolution/IllegalAccessErrorTest.java \ 297 -runtime/SelectionResolution/InvokeInterfaceICCE.java \ 298 -runtime/SelectionResolution/InvokeInterfaceSuccessTest.java \ 299 -runtime/SelectionResolution/InvokeSpecialICCE.java \ 300 -runtime/SelectionResolution/InvokeSpecialSuccessTest.java \ 301 -runtime/SelectionResolution/InvokeStaticICCE.java \ 302 -runtime/SelectionResolution/InvokeVirtualICCE.java \ 303 -runtime/SelectionResolution/InvokeVirtualSuccessTest.java \ 304 -runtime/cds/CdsSameObjectAlignment.java \ 305 -runtime/cds/SharedBaseAddress.java \ 306 -runtime/Thread/CancellableThreadTest.java \ 307 -runtime/Thread/TestThreadDumpMonitorContention.java \ 308 -runtime/Unsafe/RangeCheck.java \ 309 sanity/ \ 310 testlibrary_tests/TestMutuallyExclusivePlatformPredicates.java \ 311 -:tier1_runtime_appcds_exclude \ 312 -runtime/signal 313 314 hotspot_cds = \ 315 runtime/cds/ \ 316 runtime/CompressedOops/ 317 318 319 hotspot_appcds_dynamic = \ 320 runtime/cds/appcds/ \ 321 -runtime/cds/appcds/cacheObject \ 322 -runtime/cds/appcds/customLoader \ 323 -runtime/cds/appcds/dynamicArchive \ 324 -runtime/cds/appcds/javaldr/ArrayTest.java \ 325 -runtime/cds/appcds/javaldr/GCSharedStringsDuringDump.java \ 326 -runtime/cds/appcds/javaldr/HumongousDuringDump.java \ 327 -runtime/cds/appcds/sharedStrings \ 328 -runtime/cds/appcds/DumpClassList.java \ 329 -runtime/cds/appcds/ExtraSymbols.java \ 330 -runtime/cds/appcds/LongClassListPath.java \ 331 -runtime/cds/appcds/LotsOfClasses.java \ 332 -runtime/cds/appcds/NonExistClasspath.java \ 333 -runtime/cds/appcds/RelativePath.java \ 334 -runtime/cds/appcds/SharedArchiveConsistency.java \ 335 -runtime/cds/appcds/UnusedCPDuringDump.java \ 336 -runtime/cds/appcds/VerifierTest_1B.java 337 338 # A subset of AppCDS tests to be run in tier1 339 tier1_runtime_appcds = \ 340 runtime/cds/appcds/HelloTest.java \ 341 runtime/cds/appcds/sharedStrings/SharedStringsBasic.java \ 342 runtime/cds/appcds/ClassLoaderTest.java 343 344 tier1_runtime_appcds_exclude = \ 345 runtime/cds/appcds/ \ 346 -:tier1_runtime_appcds 347 348 # This group should be executed with "jtreg -Dtest.cds.run.with.jfr=true ..." 349 # to test interaction between AppCDS and JFR. It also has the side effect of 350 # testing JVMTI ClassFileLoadHook. 351 # 352 # The excluded tests disallow the jdk.jfr module, which is required to 353 # run with JFR. 354 hotspot_appcds_with_jfr = \ 355 runtime/cds/appcds/ \ 356 -runtime/cds/appcds/cacheObject/ArchivedModuleCompareTest.java \ 357 -runtime/cds/appcds/jigsaw/classpathtests/BootAppendTests.java \ 358 -runtime/cds/appcds/jigsaw/classpathtests/ClassPathTests.java \ 359 -runtime/cds/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java \ 360 -runtime/cds/appcds/jigsaw/JigsawOptionsCombo.java \ 361 -runtime/cds/appcds/jigsaw/modulepath/MainModuleOnly.java 362 363 tier1_serviceability = \ 364 serviceability/dcmd/compiler \ 365 -serviceability/dcmd/compiler/CompilerQueueTest.java \ 366 serviceability/jvmti/RedefineClasses \ 367 -serviceability/jvmti/RedefineClasses/RedefineLeak.java \ 368 -serviceability/jvmti/RedefineClasses/RedefinePreviousVersions.java \ 369 -serviceability/jvmti/RedefineClasses/RedefineRunningMethods.java \ 370 -serviceability/jvmti/RedefineClasses/RedefineRunningMethodsWithBacktrace.java \ 371 -serviceability/jvmti/RedefineClasses/TestRedefineObject.java \ 372 serviceability/logging \ 373 serviceability/sa \ 374 -serviceability/sa/ClhsdbScanOops.java \ 375 -serviceability/sa/TestJmapCore.java \ 376 -serviceability/sa/TestJmapCoreMetaspace.java 377 378 tier1 = \ 379 :tier1_common \ 380 :tier1_compiler \ 381 :tier1_gc \ 382 :tier1_runtime \ 383 :tier1_serviceability 384 385 hotspot_tier2_runtime = \ 386 runtime/ \ 387 serviceability/ \ 388 -runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java \ 389 -runtime/CompressedOops/UseCompressedOops.java \ 390 -runtime/InvocationTests \ 391 -runtime/Thread/TestThreadDumpMonitorContention.java \ 392 -:tier1_runtime \ 393 -:tier1_serviceability \ 394 -:hotspot_tier2_runtime_platform_agnostic \ 395 -runtime/signal \ 396 -runtime/NMT/MallocStressTest.java 397 398 hotspot_tier2_runtime_platform_agnostic = \ 399 runtime/SelectionResolution \ 400 -:tier1_runtime 401 402 hotspot_tier3_runtime = \ 403 runtime/ \ 404 serviceability/ \ 405 -:tier1_runtime \ 406 -:tier1_serviceability \ 407 -:hotspot_tier2_runtime_platform_agnostic \ 408 -:hotspot_tier2_runtime 409 410 hotspot_runtime_minimalvm = \ 411 runtime/MinimalVM \ 412 runtime/ErrorHandling \ 413 runtime/logging 414 415 hotspot_nmt = \ 416 runtime/NMT 417 418 hotspot_rest_runtime = \ 419 :hotspot_runtime \ 420 -:tier1_runtime \ 421 -:tier1_runtime_appcds_exclude \ 422 -:hotspot_nmt \ 423 -:hotspot_tier2_runtime_platform_agnostic 424 425 jcstress_part1 = \ 426 applications/jcstress/seqcst.java 427 428 jcstress_part2 = \ 429 applications/jcstress/accessAtomic.java \ 430 applications/jcstress/acqrel.java \ 431 applications/jcstress/atomics.java \ 432 applications/jcstress/coherence.java \ 433 applications/jcstress/locks.java 434 435 jcstress_part3 = \ 436 applications/jcstress \ 437 -:jcstress_part1 \ 438 -:jcstress_part2 439 440 # Stress tests against information provided by VM via JMX 441 vmTestbase_nsk_monitoring = \ 442 vmTestbase/nsk/monitoring 443 444 # Tests for default method implementation 445 vmTestbase_vm_defmeth = \ 446 vmTestbase/vm/runtime/defmeth 447 448 # JDI tests 449 vmTestbase_nsk_jdi = \ 450 vmTestbase/nsk/jdi 451 452 # Stress tests for classes loading/unloading 453 # NSK tests for functionality of the HS system dictionary 454 vmTestbase_nsk_sysdict = \ 455 vmTestbase/nsk/sysdict/vm/stress 456 457 vmTestbase_vm_metaspace = \ 458 vmTestbase/metaspace 459 460 # JVMTI tests 461 vmTestbase_nsk_jvmti = \ 462 vmTestbase/nsk/jvmti \ 463 vmTestbase/nsk/share/ExceptionCheckingJniEnv 464 465 # JDWP tests 466 vmTestbase_nsk_jdwp = \ 467 vmTestbase/nsk/jdwp 468 469 vmTestbase_nsk_stress = \ 470 vmTestbase/nsk/stress 471 472 vmTestbase_vm_g1classunloading = \ 473 vmTestbase/gc/g1/unloading/tests 474 475 # Garbage collector tests 476 vmTestbase_vm_gc = \ 477 :vmTestbase_vm_gc_concurrent \ 478 :vmTestbase_vm_gc_container \ 479 :vmTestbase_vm_gc_compact \ 480 :vmTestbase_vm_gc_juggle \ 481 :vmTestbase_vm_gc_locker \ 482 :vmTestbase_vm_gc_misc \ 483 :vmTestbase_vm_gc_ref 484 485 # In a loop: fill out the heap until OOME and then partly clear it. Variate object type and size 486 vmTestbase_vm_gc_compact = \ 487 vmTestbase/vm/gc/compact 488 489 # GC and mutlithreads 490 vmTestbase_vm_gc_concurrent = \ 491 vmTestbase/vm/gc/concurrent 492 493 # Various data structures 494 vmTestbase_vm_gc_container = \ 495 vmTestbase/vm/gc/containers \ 496 vmTestbase/gc/vector 497 498 # Playing with object arrays and various strategies of garbage producing 499 vmTestbase_vm_gc_juggle = \ 500 vmTestbase/gc/ArrayJuggle/ \ 501 vmTestbase/gc/memory/Array/ArrayJuggle 502 503 # GC Locker 504 vmTestbase_vm_gc_locker = \ 505 vmTestbase/gc/lock \ 506 vmTestbase/gc/gctests/mallocWithGC1/mallocWithGC1.java \ 507 vmTestbase/gc/gctests/mallocWithGC2/mallocWithGC2.java \ 508 vmTestbase/gc/gctests/mallocWithGC3/mallocWithGC3.java \ 509 vmTestbase/gc/gctests/nativeGC01/nativeGC01.java \ 510 vmTestbase/gc/gctests/nativeGC02/nativeGC02.java \ 511 vmTestbase/gc/gctests/nativeGC03/nativeGC03.java \ 512 vmTestbase/gc/gctests/nativeGC05/nativeGC05.java 513 514 # GC and references 515 vmTestbase_vm_gc_ref = \ 516 vmTestbase/gc/gctests/SoftReference \ 517 vmTestbase/gc/gctests/WeakReference \ 518 vmTestbase/gc/gctests/WeakReferenceGC \ 519 vmTestbase/gc/gctests/PhantomReference \ 520 vmTestbase/gc/gctests/ReferencesGC 521 522 # miscellaneous gc tests 523 vmTestbase_vm_gc_misc = \ 524 vmTestbase/gc \ 525 vmTestbase/vm/gc \ 526 -:vmTestbase_vm_g1classunloading \ 527 -:vmTestbase_vm_gc_compact \ 528 -:vmTestbase_vm_gc_concurrent \ 529 -:vmTestbase_vm_gc_container \ 530 -:vmTestbase_vm_gc_juggle \ 531 -:vmTestbase_vm_gc_locker \ 532 -:vmTestbase_vm_gc_ref 533 534 vmTestbase_largepages = \ 535 vmTestbase/gc/gctests/LoadUnloadGC \ 536 vmTestbase/gc/gctests/LoadUnloadGC2 \ 537 vmTestbase/gc/memory/LargePagesTest \ 538 vmTestbase/gc/memory/Nio \ 539 vmTestbase/metaspace/staticReferences/StaticReferences.java \ 540 vmTestbase/metaspace/stressDictionary/StressDictionary.java \ 541 vmTestbase/metaspace/stressHierarchy/stressHierarchy001/TestDescription.java \ 542 vmTestbase/metaspace/stressHierarchy/stressHierarchy011/TestDescription.java \ 543 vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java \ 544 vmTestbase/metaspace/shrink_grow/ShrinkGrowTest/ShrinkGrowTest.java \ 545 vmTestbase/metaspace/shrink_grow/ShrinkGrowMultiJVM/ShrinkGrowMultiJVM.java \ 546 vmTestbase/metaspace/shrink_grow/CompressedClassSpaceSize/TestDescription.java 547 548 # Just-In-Time compiler tests 549 vmTestbase_vm_compiler = \ 550 vmTestbase/vm/compiler \ 551 vmTestbase/jit \ 552 vmTestbase/vm/jit 553 554 # JSR292 tests (invokedynamic AKA Multi-Language VM AKA Da Vinci Machine) 555 vmTestbase_vm_mlvm = \ 556 vmTestbase/vm/mlvm 557 558 # Tests for attach-on-demand implementation 559 vmTestbase_nsk_aod = \ 560 vmTestbase/nsk/aod 561 562 # JDB tests 563 vmTestbase_nsk_jdb = \ 564 vmTestbase/nsk/jdb 565 566 # vmTestbase_*_quick groups are defined in TEST.quick-groups