Skip to content

Commit

Permalink
8261752: Multiple GC test are missing memory requirements
Browse files Browse the repository at this point in the history
Reviewed-by: tschatzl, sjohanss
  • Loading branch information
mychris authored and Thomas Schatzl committed Feb 17, 2021
1 parent c7885eb commit 2e18b52
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/epsilon/TestByteArrays.java
Expand Up @@ -26,7 +26,7 @@
/**
* @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
*
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/epsilon/TestElasticTLAB.java
Expand Up @@ -26,7 +26,7 @@
/**
* @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
*
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/epsilon/TestElasticTLABDecay.java
Expand Up @@ -26,7 +26,7 @@
/**
* @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
*
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/epsilon/TestMemoryPools.java
Expand Up @@ -26,7 +26,7 @@

/**
* @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
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestHumongousRemsetsMatch.java
Expand Up @@ -27,7 +27,7 @@
* @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
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/gc/g1/ihop/TestIHOPStatic.java
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/gc/logging/TestMetaSpaceLog.java
Expand Up @@ -44,6 +44,7 @@
* java.management
* @requires vm.gc != "Epsilon"
* @requires vm.gc != "Z"
* @requires os.maxMemory >= 2G
*
* @compile TestMetaSpaceLog.java
* @run driver ClassFileInstaller sun.hotspot.WhiteBox
Expand Down

1 comment on commit 2e18b52

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.