8217666: gc/nvdimm/* should not be included any tiers
Reviewed-by: iignatyev, lkorinth
This commit is contained in:
parent
12e769ad5a
commit
b2f2e669c9
@ -66,7 +66,8 @@ requires.properties= \
|
||||
vm.graal.enabled \
|
||||
vm.compiler1.enabled \
|
||||
vm.compiler2.enabled \
|
||||
docker.support
|
||||
docker.support \
|
||||
test.vm.gc.nvdimm
|
||||
|
||||
# Minimum jtreg version
|
||||
requiredVersion=4.2 b13
|
||||
|
@ -59,7 +59,8 @@ hotspot_misc = \
|
||||
-:hotspot_compiler \
|
||||
-:hotspot_gc \
|
||||
-:hotspot_runtime \
|
||||
-:hotspot_serviceability
|
||||
-:hotspot_serviceability \
|
||||
-gc/nvdimm
|
||||
|
||||
hotspot_native_sanity = \
|
||||
native_sanity
|
||||
@ -197,7 +198,7 @@ tier1_gc_2 = \
|
||||
gc_epsilon = \
|
||||
gc/epsilon/ \
|
||||
gc/CriticalNativeArgs.java \
|
||||
gc/stress/CriticalNativeStress.java
|
||||
gc/stress/CriticalNativeStress.java
|
||||
|
||||
tier1_gc_gcold = \
|
||||
gc/stress/gcold/TestGCOldWithG1.java \
|
||||
@ -210,7 +211,7 @@ tier1_gc_gcbasher = \
|
||||
gc/stress/gcbasher/TestGCBasherWithCMS.java \
|
||||
gc/stress/gcbasher/TestGCBasherWithSerial.java \
|
||||
gc/stress/gcbasher/TestGCBasherWithParallel.java
|
||||
|
||||
|
||||
tier1_gc_shenandoah = \
|
||||
gc/shenandoah/options/ \
|
||||
gc/shenandoah/compiler/ \
|
||||
|
@ -25,6 +25,7 @@
|
||||
* @key gc
|
||||
* @summary Test to check allocation of Java Heap with AllocateOldGenAt option
|
||||
* @requires vm.gc=="null" & os.family != "aix"
|
||||
* @requires test.vm.gc.nvdimm
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
*/
|
||||
|
@ -25,6 +25,7 @@
|
||||
* @key gc
|
||||
* @summary Test to check correct handling of non-existent directory passed to AllocateOldGenAt option
|
||||
* @requires vm.gc=="null" & os.family != "aix"
|
||||
* @requires test.vm.gc.nvdimm
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
*/
|
||||
|
@ -25,6 +25,7 @@
|
||||
* @key gc
|
||||
* @summary Test to check allocation of Java Heap with AllocateOldGenAt option. Has multiple sub-tests to cover different code paths.
|
||||
* @requires vm.gc=="null" & os.family != "aix"
|
||||
* @requires test.vm.gc.nvdimm
|
||||
* @library /test/lib
|
||||
* @modules java.base/jdk.internal.misc
|
||||
* @requires vm.bits == "64"
|
||||
|
@ -26,6 +26,7 @@
|
||||
* @summary Check that humongous objects reside in nv-dimm
|
||||
* @library /test/lib /
|
||||
* @requires vm.gc=="null" & os.family != "aix"
|
||||
* @requires test.vm.gc.nvdimm
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
* @run main TestHumongousObjectsOnNvdimm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions
|
||||
|
@ -25,6 +25,7 @@
|
||||
* @test TestOldObjectsOnNvdimm
|
||||
* @summary Check that objects in old generation reside in dram.
|
||||
* @requires vm.gc=="null" & os.family != "aix"
|
||||
* @requires test.vm.gc.nvdimm
|
||||
* @library /test/lib
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
@ -25,6 +25,7 @@
|
||||
* @test TestYoungObjectsOnDram
|
||||
* @summary Check that objects in young generation reside in dram.
|
||||
* @requires vm.gc=="null" & os.family != "aix"
|
||||
* @requires test.vm.gc.nvdimm
|
||||
* @library /test/lib
|
||||
* @build sun.hotspot.WhiteBox
|
||||
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
|
||||
|
@ -97,6 +97,7 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
map.put("vm.compiler2.enabled", isCompiler2Enabled());
|
||||
map.put("docker.support", dockerSupport());
|
||||
map.put("release.implementor", implementor());
|
||||
map.put("test.vm.gc.nvdimm", isNvdimmTestEnabled());
|
||||
vmGC(map); // vm.gc.X = true/false
|
||||
vmOptFinalFlags(map);
|
||||
|
||||
@ -469,6 +470,15 @@ public class VMProps implements Callable<Map<String, String>> {
|
||||
return null;
|
||||
}
|
||||
|
||||
private String isNvdimmTestEnabled() {
|
||||
String isEnbled = System.getenv("TEST_VM_GC_NVDIMM");
|
||||
if (isEnbled != null && isEnbled.toLowerCase().equals("true")) {
|
||||
return "true";
|
||||
}
|
||||
return "false";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Dumps the map to the file if the file name is given as the property.
|
||||
|
Loading…
Reference in New Issue
Block a user