test/hotspot/jtreg/runtime/appcds/javaldr/GCDuringDump.java
changeset 48469 7312ae4465d6
parent 48138 78b2ecdd3c4b
child 48979 514c73a1955b
--- a/test/hotspot/jtreg/runtime/appcds/javaldr/GCDuringDump.java	Tue Dec 19 06:29:17 2017 -0500
+++ b/test/hotspot/jtreg/runtime/appcds/javaldr/GCDuringDump.java	Mon Dec 04 08:59:47 2017 -0800
@@ -26,7 +26,7 @@
  * @test
  * @summary When dumping the CDS archive, try to cause garbage collection while classes are being loaded.
  * @library /test/lib /test/hotspot/jtreg/runtime/appcds /test/hotspot/jtreg/runtime/appcds/test-classes
- * @requires (vm.opt.UseCompressedOops == null) | (vm.opt.UseCompressedOops == true)
+ * @requires vm.cds
  * @requires vm.flavor != "minimal"
  * @modules java.base/jdk.internal.misc
  *          jdk.jartool/sun.tools.jar