diff --git a/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointersEncodingScheme.java b/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointersEncodingScheme.java
index d67b6534049ae..c1ef73d836c6b 100644
--- a/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointersEncodingScheme.java
+++ b/test/hotspot/jtreg/runtime/CompressedOops/CompressedClassPointersEncodingScheme.java
@@ -25,7 +25,7 @@
  * @test
  * @summary Testing that, faced with a given (possibly odd) mapping address of class space, the encoding
  *          scheme fits the address
- * @requires vm.bits == 64 & !vm.graal.enabled
+ * @requires vm.bits == 64 & !vm.graal.enabled & vm.debug == true
  * @requires vm.flagless
  * @library /test/lib
  * @modules java.base/jdk.internal.misc