8261752: Multiple GC test are missing memory requirements

Reviewed-by: tschatzl, sjohanss
This commit is contained in:
Christoph Göttschkes 2021-02-17 10:41:38 +00:00 committed by Thomas Schatzl
parent c7885eb1c5
commit 2e18b52aed
7 changed files with 7 additions and 5 deletions

View File

@ -26,7 +26,7 @@ package gc.epsilon;
/**
* @test TestByteArrays
* @key randomness
* @requires vm.gc.Epsilon
* @requires vm.gc.Epsilon & os.maxMemory > 1G
* @summary Epsilon is able to allocate arrays, and does not corrupt their state
* @library /test/lib
*

View File

@ -26,7 +26,7 @@ package gc.epsilon;
/**
* @test TestElasticTLAB
* @key randomness
* @requires vm.gc.Epsilon
* @requires vm.gc.Epsilon & os.maxMemory > 1G
* @summary Epsilon is able to work with/without elastic TLABs
* @library /test/lib
*

View File

@ -26,7 +26,7 @@ package gc.epsilon;
/**
* @test TestElasticTLABDecay
* @key randomness
* @requires vm.gc.Epsilon
* @requires vm.gc.Epsilon & os.maxMemory > 1G
* @summary Epsilon is able to work with/without elastic TLABs
* @library /test/lib
*

View File

@ -26,7 +26,7 @@ package gc.epsilon;
/**
* @test TestMemoryPools
* @requires vm.gc.Epsilon
* @requires vm.gc.Epsilon & os.maxMemory >= 2G
* @summary Test JMX memory pools
* @modules java.base/jdk.internal.misc
* java.management

View File

@ -27,7 +27,7 @@ package gc.g1;
* @test TestHumongousRemSetsMatch
* @bug 8205426
* @summary Test to make sure that humongous object remset states are in sync
* @requires vm.gc.G1
* @requires vm.gc.G1 & os.maxMemory >= 2G
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver ClassFileInstaller sun.hotspot.WhiteBox

View File

@ -29,6 +29,7 @@
* @requires !vm.flightRecorder
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
* @requires !(vm.graal.enabled & vm.compMode == "Xcomp")
* @requires os.maxMemory > 1G
* @library /test/lib /
* @modules java.base/jdk.internal.misc
* @modules java.management

View File

@ -44,6 +44,7 @@ import sun.hotspot.WhiteBox;
* java.management
* @requires vm.gc != "Epsilon"
* @requires vm.gc != "Z"
* @requires os.maxMemory >= 2G
*
* @compile TestMetaSpaceLog.java
* @run driver ClassFileInstaller sun.hotspot.WhiteBox