changeset 52514:c22997db2a22

8213527: [testbug] Fix PrintMetaspaceDcmd test using UseCompressedOops for 32-bit. Reviewed-by: dholmes, mdoerr
author goetz
date Mon, 12 Nov 2018 16:40:25 +0100
parents 23b3a46fa159
children a609d549992a
files test/hotspot/jtreg/runtime/Metaspace/PrintMetaspaceDcmd.java
diffstat 1 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/Metaspace/PrintMetaspaceDcmd.java	Mon Nov 12 12:55:36 2018 +0000
+++ b/test/hotspot/jtreg/runtime/Metaspace/PrintMetaspaceDcmd.java	Mon Nov 12 16:40:25 2018 +0100
@@ -30,13 +30,23 @@
  * @test
  * @key metaspace jcmd
  * @summary Test the VM.metaspace command
- * @requires vm.gc != "Z"
+ * @requires vm.gc != "Z" & vm.bits != "32"
  * @library /test/lib
  * @modules java.base/jdk.internal.misc
  *          java.management
  * @run main/othervm -XX:MaxMetaspaceSize=201M -Xmx100M -XX:+UseCompressedOops -XX:+UseCompressedClassPointers PrintMetaspaceDcmd with-compressed-class-space
  * @run main/othervm -XX:MaxMetaspaceSize=201M -Xmx100M -XX:-UseCompressedOops -XX:-UseCompressedClassPointers PrintMetaspaceDcmd without-compressed-class-space
  */
+/*
+ * @test
+ * @key metaspace jcmd
+ * @summary Test the VM.metaspace command
+ * @requires vm.gc != "Z" & vm.bits == "32"
+ * @library /test/lib
+ * @modules java.base/jdk.internal.misc
+ *          java.management
+ * @run main/othervm -XX:MaxMetaspaceSize=201M -Xmx100M PrintMetaspaceDcmd without-compressed-class-space
+ */
 
 public class PrintMetaspaceDcmd {