1 # 2 # Copyright (c) 2005, 2025, 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 # 25 26 # This file identifies the root of the test-suite hierarchy. 27 # It also contains test-suite configuration information. 28 29 # The list of keywords supported in this test suite 30 # stress: stress/slow test 31 # headful: test can be run only on headful host 32 # intermittent: flaky test, known to fail intermittently 33 # randomness: test uses randomness, test cases differ from run to run 34 # cgroups: test uses cgroups 35 # flag-sensitive: test is sensitive to certain flags and might fail when flags are passed using -vmoptions and -javaoptions 36 # external-dep: test requires external dependencies to work 37 keys=stress headful intermittent randomness cgroups flag-sensitive external-dep 38 39 groups=TEST.groups TEST.quick-groups 40 41 # Source files for classes that will be used at the beginning of each test suite run, 42 # to determine additional characteristics of the system for use with the @requires tag. 43 # Note: compiled bootlibs classes will be added to BCP. 44 requires.extraPropDefns = ../../jtreg-ext/requires/VMProps.java 45 requires.extraPropDefns.bootlibs = ../../lib/jdk/test/whitebox 46 requires.extraPropDefns.libs = \ 47 ../../lib/jdk/test/lib/Platform.java \ 48 ../../lib/jdk/test/lib/Container.java 49 requires.extraPropDefns.javacOpts = \ 50 --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \ 51 --add-exports java.base/jdk.internal.misc=ALL-UNNAMED 52 requires.extraPropDefns.vmOpts = \ 53 -XX:+UnlockDiagnosticVMOptions \ 54 -XX:+LogVMOutput -XX:-DisplayVMOutput -XX:LogFile=vmprops.flags.final.vm.log \ 55 -XX:+PrintFlagsFinal \ 56 -XX:+WhiteBoxAPI \ 57 --add-exports java.base/jdk.internal.foreign=ALL-UNNAMED \ 58 --add-exports java.base/jdk.internal.misc=ALL-UNNAMED 59 requires.properties= \ 60 sun.arch.data.model \ 61 vm.simpleArch \ 62 vm.bits \ 63 vm.flightRecorder \ 64 vm.gc.G1 \ 65 vm.gc.Serial \ 66 vm.gc.Parallel \ 67 vm.gc.Shenandoah \ 68 vm.gc.Epsilon \ 69 vm.gc.Z \ 70 vm.jvmci \ 71 vm.jvmci.enabled \ 72 vm.emulatedClient \ 73 vm.cpu.features \ 74 vm.pageSize \ 75 vm.debug \ 76 vm.hasSA \ 77 vm.hasJFR \ 78 vm.hasDTrace \ 79 vm.rtm.cpu \ 80 vm.rtm.compiler \ 81 vm.cds \ 82 vm.cds.default.archive.available \ 83 vm.cds.custom.loaders \ 84 vm.cds.supports.aot.class.linking \ 85 vm.cds.supports.aot.code.caching \ 86 vm.cds.write.archived.java.heap \ 87 vm.continuations \ 88 vm.jvmti \ 89 vm.graal.enabled \ 90 jdk.hasLibgraal \ 91 vm.libgraal.jit \ 92 vm.compiler1.enabled \ 93 vm.compiler2.enabled \ 94 vm.musl \ 95 vm.asan \ 96 vm.ubsan \ 97 vm.flagless \ 98 container.support \ 99 systemd.support \ 100 jdk.containerized \ 101 jlink.runtime.linkable \ 102 jlink.packagedModules \ 103 jdk.static 104 105 # Minimum jtreg version 106 requiredVersion=7.5.2+1 107 108 # Path to libraries in the topmost test directory. This is needed so @library 109 # does not need ../../../ notation to reach them 110 external.lib.roots = ../../../ 111 112 # Use new module options 113 useNewOptions=true 114 115 # Use --patch-module instead of -Xmodule: 116 useNewPatchModule=true