8213410: UseCompressedOops requirement check fails fails on 32-bit system
authorbulasevich
Fri, 16 Nov 2018 19:29:20 +0300
changeset 52589 bd96a1bd01ca
parent 52588 a41566ad8756
child 52590 c6b63df2765f
8213410: UseCompressedOops requirement check fails fails on 32-bit system Reviewed-by: dholmes
test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java
test/hotspot/jtreg/gc/metaspace/TestMetaspaceMemoryPool.java
test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers.java
test/hotspot/jtreg/runtime/CompressedOops/CompressedClassSpaceSize.java
test/hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java
test/hotspot/jtreg/runtime/logging/CompressedOopsTest.java
--- a/test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java	Fri Nov 16 08:25:46 2018 -0800
+++ b/test/hotspot/jtreg/gc/metaspace/CompressedClassSpaceSizeInJmapHeap.java	Fri Nov 16 19:29:20 2018 +0300
@@ -25,7 +25,8 @@
  * @test CompressedClassSpaceSizeInJmapHeap
  * @bug 8004924
  * @summary Checks that jmap -heap contains the flag CompressedClassSpaceSize
- * @requires vm.hasSAandCanAttach & vm.opt.final.UseCompressedOops
+ * @requires vm.hasSAandCanAttach
+ * @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
--- a/test/hotspot/jtreg/gc/metaspace/TestMetaspaceMemoryPool.java	Fri Nov 16 08:25:46 2018 -0800
+++ b/test/hotspot/jtreg/gc/metaspace/TestMetaspaceMemoryPool.java	Fri Nov 16 19:29:20 2018 +0300
@@ -32,7 +32,7 @@
  * @bug 8000754
  * @summary Tests that a MemoryPoolMXBeans is created for metaspace and that a
  *          MemoryManagerMXBean is created.
- * @requires vm.opt.final.UseCompressedOops
+ * @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
--- a/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers.java	Fri Nov 16 08:25:46 2018 -0800
+++ b/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointers.java	Fri Nov 16 19:29:20 2018 +0300
@@ -25,8 +25,7 @@
  * @test
  * @bug 8024927
  * @summary Testing address of compressed class pointer space as best as possible.
- * @requires vm.opt.final.UseCompressedOops
- * @requires vm.bits == 64
+ * @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
--- a/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassSpaceSize.java	Fri Nov 16 08:25:46 2018 -0800
+++ b/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassSpaceSize.java	Fri Nov 16 19:29:20 2018 +0300
@@ -25,7 +25,7 @@
  * @test
  * @bug 8022865
  * @summary Tests for the -XX:CompressedClassSpaceSize command line option
- * @requires vm.opt.final.UseCompressedOops
+ * @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
--- a/test/hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java	Fri Nov 16 08:25:46 2018 -0800
+++ b/test/hotspot/jtreg/runtime/Metaspace/MaxMetaspaceSizeTest.java	Fri Nov 16 19:29:20 2018 +0300
@@ -26,8 +26,7 @@
 
 /*
  * @test MaxMetaspaceSizeTest
- * @requires vm.bits == "64"
- * @requires vm.opt.final.UseCompressedOops
+ * @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
  * @bug 8087291
  * @library /test/lib
  * @run main/othervm MaxMetaspaceSizeTest
--- a/test/hotspot/jtreg/runtime/logging/CompressedOopsTest.java	Fri Nov 16 08:25:46 2018 -0800
+++ b/test/hotspot/jtreg/runtime/logging/CompressedOopsTest.java	Fri Nov 16 19:29:20 2018 +0300
@@ -24,8 +24,7 @@
 /*
  * @test
  * @bug 8149991
- * @requires (sun.arch.data.model == "64")
- * @requires vm.opt.final.UseCompressedOops
+ * @requires vm.bits == 64 & vm.opt.final.UseCompressedOops == true
  * @summary -Xlog:gc+heap+coops=info should have output from the code
  * @library /test/lib
  * @modules java.base/jdk.internal.misc