8261752: Multiple GC test are missing memory requirements
Reviewed-by: tschatzl, sjohanss
This commit is contained in:
parent
c7885eb1c5
commit
2e18b52aed
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user