changeset 53557:bd96a1bd01ca

8213410: UseCompressedOops requirement check fails fails on 32-bit system Reviewed-by: dholmes
author bulasevich
date Fri, 16 Nov 2018 19:29:20 +0300
parents a41566ad8756
children c6b63df2765f
files 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
diffstat 6 files changed, 7 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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