diff -r 449cbde4c40c -r 314af5e1e787 test/hotspot/jtreg/runtime/logging/CompressedOopsTest.java --- a/test/hotspot/jtreg/runtime/logging/CompressedOopsTest.java Tue Jun 05 15:56:14 2018 +0200 +++ b/test/hotspot/jtreg/runtime/logging/CompressedOopsTest.java Tue Jun 05 15:56:17 2018 +0200 @@ -25,6 +25,7 @@ * @test * @bug 8149991 * @requires (sun.arch.data.model == "64") + * @requires vm.opt.final.UseCompressedOops * @summary -Xlog:gc+heap+coops=info should have output from the code * @library /test/lib * @modules java.base/jdk.internal.misc