--- a/test/jdk/jdk/jfr/event/gc/collection/TestGCWithFasttime.java Fri Jul 20 09:33:49 2018 +0200
+++ b/test/jdk/jdk/jfr/event/gc/collection/TestGCWithFasttime.java Fri Jul 20 09:46:57 2018 +0200
@@ -33,9 +33,10 @@
import jdk.test.lib.jfr.Events;
import jdk.test.lib.jfr.GCHelper;
-/*
+/**
* @test
* @key jfr
+ * @requires vm.hasJFR
* @requires vm.gc == "Parallel" | vm.gc == null
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseParallelGC -XX:+UseParallelOldGC jdk.jfr.event.gc.collection.TestGCWithFasttime